Click or drag to resize

AuditLogExtensionsGetUserEvents Method

Gets audit events for a user in descending order.

Namespace: KeeperSecurity.Enterprise
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5
Syntax
C#
public static Task<Tuple<GetAuditEventReportsResponse, long>> GetUserEvents(
	this IAuthentication auth,
	string forUser,
	long recentUnixTime,
	long latestUnixTime = 0
)

Parameters

auth  IAuthentication
Keeper Connection
forUser  String
User email
recentUnixTime  Int64
Recent event epoch time in seconds
latestUnixTime  Int64  (Optional)
Latest event epoch time in seconds

Return Value

TaskTupleGetAuditEventReportsResponse, Int64
Awaitable task returning a tuple. Item1 contains the audit event list. Item2 the epoch time in seconds to resume

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAuthentication. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This method returns first 1000 events. To get the next chunk of audit events pass the second parameter of result into recentUnixTime parameter.
See Also