Sm_PolicyApi_CreateAuthAzMap()
Creates an authentication and authorization directory mapping object.
casso126
Creates an authentication and authorization directory mapping object.
Type
Authentication/Authorization map function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_CreateAuthAzMap (void*pSessionHandle,Sm_PolicyApi_AuthAzMap_t*pAuthAzMap,const boolbUpdate);
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. |
pAuthAzMap
| I | The address of a pointer to information about authentication and authorization mapping. |
bUpdate
| I | A flag to indicate that if an existing object is found, it should be updated. |
Returns
- Sm_PolicyApi_Success. The directory mapping object was created successfully.
- Sm_PolicyApi_InvalidHandle. There was no valid initialization prior to this call.
- Sm_PolicyApi_NoSession. There is no valid administrator session.
- Sm_PolicyApi_NoPrivilege. The administrator does not have the privilege to create a directory mapping object.
- Sm_PolicyApi_InvalidOid:
- An authentication user directory OID was not found.
- An authorization user directory OID was not found.
- A directory-mapping object OID was not found.