Gets the contents of the administrator object identified by szAdminName.
The results of this function are returned in a structure referenced by ppstructAdmin. Free the memory allocated for this structure by calling Sm_PolicyApi_FreeMemoryEx().
Type
Administrator function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_GetAdminByName ( void* pSessionHandle, const char* pszAdminName, Sm_PolicyApi_Admin_t** ppstructAdmin );
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. |
pszAdminName |
I |
A null-terminated string containing the name of an existing administrator. |
ppstructAdmin |
O |
The address of a pointer to an administrator structure. |
Returns
Copyright © 2014 CA.
All rights reserved.
|
|