User Directory Methods
User management functionality is provided in the DMS API. However, the Policy Management API provides methods for getting and setting user attributes. These methods are in the SmUserDirectory class.
casso10
User management functionality is provided in the DMS API. However, the Policy Management API provides methods for getting and setting user attributes. These methods are in the SmUserDirectory class.
For example:
- To specify which user attribute holds the disabled state of the user, call setDisabledAttr() in SmUserDirectory.
- To disable and enable users, use the DMS API.
Method | Description |
addUserDirectory() | Adds a user directory object to the policy store. |
addUserDirToDomain() | Associates an existing user directory with a domain. |
deleteUserDirectory() | Deletes a user directory. |
getDirectoryContents() | Gets a list of distinguished names and classes for the specified user directory. |
getUserDirectory() | Gets the contents of a user directory. |
getUserDirSearchOrder() | Retrieves the search order of user directories for a domain by retrieving a vector of user directory names. |
lookupDirectory() | Gets a list of distinguished names and classes for the specified user directory and search pattern. |
modifyUserDirectory() | Modifies a user directory. |
removeUserDirFromDomain() | Disassociates an existing user directory from a domain. |
setUserDirSearchOrder() | Sets the search order of user directories in a domain. |