Previous Topic: SmDirGetDirObjInfo()

Next Topic: SmDirGetLastErrMsg()

SmDirGetGroupMembers()

The SiteMinder Policy Server calls SmDirGetGroupMembers() so that you can retrieve the members of a user group. This function is designed to support Delegated Management Services.

Syntax

int SM_EXTERN SmDirGetGroupMembers (
   const Sm_Api_Context_t*  lpApiContext,
   void*                    pHandle,
   void*                    pInstanceHandle,
   const char*              lpszGroupDN,
   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.

lpszGroupDN

I

Buffer containing the distinguished name for the group for which members are being retrieved.

lpszMembers

O

Buffer containing the members of the group.

Returns

Returns 0 if successful or -1 if not successful.


Copyright © 2010 CA. All rights reserved. Email CA about this topic