Adds a user directory entry to an affiliate.
Type
Federation function
Syntax
int SM_EXTERN Sm_PolicyApi_AddUsersToAffiliate ( void* pSessionHandle, const char* pszAffiliateOid, Sm_PolicyApi_User_t *pStructUsers, int iPolicyFlags );
Parameter |
I/O |
Description |
---|---|---|
pSessionHandle |
I |
A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session. |
pszAffiliateOid |
I |
A null-terminated string containing the object identifier of an existing affiliate. |
pStructUsers |
I |
Pointer to a Sm_PolicyApi_User_t structure containing information about the user directory. |
iPolicyFlags |
I |
A bit field that indicates whether the policy includes or excludes a user and whether the policy should be applied recursively. The bit definitions are listed in Figure 21 on page 112. |
Returns
Copyright © 2014 CA.
All rights reserved.
|
|