Gives the specified administrator permission to administer the specified domain, and associates the administrator object identified by szAdminOid with the domain identified by szDomainOid.
Type
Administrator function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_AddAdminToDomain ( void* pSessionHandle, const char* pszAdminOid, const char* pszDomainOid );
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. |
pszAdminOid |
I |
A null-terminated string containing the object identifier of an existing administrator. |
pszDomainOid |
I |
A null-terminated string containing the object identifier of an existing domain. |
Returns
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |