Previous Topic: Utility FunctionsNext Topic: Operations on a Directory Entry (User)


Operations on the Directory

The Policy Server calls the directory operations function(s) to let you define directory operations tasks for your custom directory. For example, if a user is using the SiteMinder Administrative UI to search for a user, the Policy Server calls SmDirLookup().

Function Name

Use this function to:

SmDirAddEntry()

Insert a directory entry (user) into your custom directory.

SmDirAddMemberToGroup()

Add a user or group to an existing group.

SmDirAddMemberToRole()

Assign a role to a user or to a group.

SmDirEnumerate()

Retrieve a list of directory entries and corresponding class names.

SmDirGetDirConnection()

Get the connection handle to the directory.

SmDirGetDirObjInfo()

Get information about the object specified in the object parameter.

SmDirGetGroupMembers()

Retrieve the members of a user group.

SmDirGetLastErrMsg()

Determine which instance handle is passed, and return the associated error message. Also used with directory entry (user) operations.

SmDirGetRoleMembers()

Retrieve the directory entries assigned to a role.

SmDirLookup()

Look up a pattern in the directory.

SmDirRemoveEntry()

Delete a directory entry (user) from your custom directory.

SmDirRemoveMemberFromGroup()

Remove a user or group from a existing group.

SmDirRemoveMemberFromRole()

Remove a user or group from an assigned role.

SmDirSearch()

Search on the criteria specified in the search filter parameter.

SmDirSearchCount()

Return a count of the entries that meet the criteria specified in the parameters.

SmDirValidateInstance()

Determine which instance handle is passed, and validate that instance. Also used with directory entry (user) operations.

SmDirValidateUserDN()

Perform any needed validation on the user ID.

SmDirValidateUsername()

Convert the credentials presented by the user to a user ID for the custom directory.