SmDirRemoveMemberFromRole()

The stmndr Policy Server calls SmDirRemoveMemberFromRole() so that you can remove a user or group from an assigned role.
casso1283
The
SiteMinder
Policy Server calls SmDirRemoveMemberFromRole() so that you can remove a user or group from an assigned role.
Syntax
int SM_EXTERN SmDirRemoveMemberFromRole (
   const Sm_Api_Context_t*  lpApiContext,
   void*                    pHandle,
   void*                    pInstanceHandle,
   const char*              lpszMemberDN,
   const char*              lpszRoleDN
);
Parameter
I/O
Description
lpApiContext
I
Pointer to the API context structure.
pHandle
I
The address of the pointer returned by SmDirInit().
pInstanceHandle
I
The address of a pointer to the directory instance handle.
lpszMemberDN
I
Buffer containing the distinguished name for the user or group being removed from the assigned role.
lpszRoleDN
I
Buffer containing the distinguished name for the role from which the member is being removed.
Returns
Returns 0 if successful or -1 if not successful.
Remarks
This function is called when Delegated Management Services is used to remove users or groups from assigned roles.