Previous Topic: SmDirRemoveEntry()

Next Topic: SmDirRemoveMemberFromRole()

SmDirRemoveMemberFromGroup()

The SiteMinder Policy Server calls SmDirRemoveMemberFromGroup() so that you can remove a user or group from a existing group.

Syntax

int SM_EXTERN SmDirRemoveMemberFromGroup (
   const Sm_Api_Context_t*  lpApiContext,
   void*                    pHandle,
   void*                    pInstanceHandle,
   const char*              lpszMemberDN,
   const char*              lpszGroupDN
);

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 parent group.

lpszGroupDN

I

Buffer containing the distinguished name for the group 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 groups.


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