Ldap - setQueryAttribute
Ldap - setQueryAttribute
Description :
This command sets the LDAP attribute of an existing LDAP query. This command returns a handle to the updated LDAP query object.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
queryName | String | Name of the LDAP query. |
ldapAttribute | String | Name of the LDAP attribute to retrieve in the query. |
Example
The following example modifies the LDAP attribute of a given LDAP query.
Script
Ldap setQueryAttribute Administrators userPrincipalName
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*