Call this function if the authorizations are to be done out of agent cache.
Syntax
int Sm_AgentApi_Audit ( const void* pHandle, const char* lpszClientIpAddr, const char* lpszTransactionId, const Sm_AgentApi_ResourceContext_t* pResourceContext, const Sm_AgentApi_Realm_t* pRealm, Sm_AgentApi_Session_t* pSession );
Parameter |
I/O |
Description |
---|---|---|
pHandle |
I |
Agent API session handle returned in parameter ppHandle of Sm_AgentApi_Init(). |
lpszClientIpAddr |
I |
The IP address of the client where the user is logging in. This is an optional parameter. If the client IP begins with a star (*), the Policy Server logs the IP address but does not validate it against a session specification. |
lpszTransactionId |
I |
The ID that the agent uses to associate application activity with security activity. The Policy Server logs this ID. This is an optional parameter. |
pResourceContext |
I |
A defined resource definition structure. |
pRealm |
I |
A realm definition structure. |
pSession |
I |
A session definition structure. |
ReturnValues
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |