The SiteMinder Policy Server calls SmDirSetUserAttrMulti() so that you can set an array of values for a single attribute in your custom directory.
Syntax
int SM_EXTERN SmDirSetUserAttrMulti ( const Sm_Api_Context_t* lpApiContext, void* pHandle, void* pInstanceHandle, const char* lpszUserDN, const char* lpszAttrName, const char** lpszAttrData );
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 user instance handle. |
lpszUserDN |
I |
Buffer containing the user DN whose user attribute has to be set. |
lpszAttrName |
I |
Buffer containing the name of the user attribute. |
lpszAttrData |
I |
Buffer containing the values for the user attribute. |
Returns
Returns 0 if successful or -1 if not successful.
Copyright © 2014 CA.
All rights reserved.
|
|