SmDirGetRoleMembers()
The stmndr Policy Server calls SmDirGetRoleMembers() so that you can retrieve the directory entries assigned to a role. This function is designed to support Delegated Management Services.
casso1283
The
SiteMinder
Policy Server calls SmDirGetRoleMembers() so that you can retrieve the directory entries assigned to a role. This function is designed to support Delegated Management Services.Syntax
int SM_EXTERN SmDirGetRoleMembers (const Sm_Api_Context_t*lpApiContext,void*pHandle,void*pInstanceHandle,const char*lpszRoleDN,char***lpszMembers);
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. |
lpszRoleDN
| I | Buffer containing the distinguished name for the role for which members are being retrieved. |
lpszMembers
| O | Buffer containing the members of the role. |
Returns
Returns 0 if successful or -1 if not successful.