Below is the example of using the OpenAuditLog operation to open the access protocol with the list of repository connections. The request contains moniker of opened repository connection. The response contains the access protocol instance moniker with the list of repository connections.
{
"OpenAuditLog" :
{
"tMb" :
{
"id" : "S1!M"
},
"tArg" :
{
"logType" : "Logons"
}
}
}
{
"OpenAuditLogResult" :
{
"id" : "S1!M!S!A1"
}
}
public static OpenAuditLogResult OpenAuditLogons(string mb)
{
var somClient = new SomPortTypeClient(); //Proxy object for executing operations
//Operation execution parameters
var tOpenAudit = new OpenAuditLog()
{
tArg = new OpenAuditLogArg()
{
logType = AuditLogType.Logons
},
tMb = new MbId() { id = mb }
};
//Open access protocol with the list of connections
var result = somClient.OpenAuditLog(tOpenAudit);
return result;
See also: