Share via


GetByAccountingUserActivity method of the PS_RemoteAccessUserActivityLocal class

This cmdlet displays the following1. Remote user activity over an active connection2. Remote user activity based on accounting data.

Syntax

uint32 GetByAccountingUserActivity(
  [in]  datetime                      StartDateTime,
  [in]  datetime                      EndDateTime,
  [in]  string                        HostIPAddress,
  [in]  string                        UserName,
  [out] RemoteAccessUserActivityLocal cmdletOutput[]
);

Parameters

StartDateTime [in]

Start date from when to get the User Activity from Accounting data.

EndDateTime [in]

End date till when to get the User Activity from Accounting data.

HostIPAddress [in]

Host IP Address for which to get the User Activity.

UserName [in]

User name for which to get the User Activity.

cmdletOutput [out]

An array of RemoteAccessUserActivityLocal containing the User Activity objects for the specified user/host IP.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\server
MOF
RAServerPSProvider.mof
DLL
RAServerPSProvider.dll

See also

PS_RemoteAccessUserActivityLocal