Share via


GetByActiveUserActivity 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 GetByActiveUserActivity(
  [in]  string                        UserName,
  [in]  string                        HostIPAddress,
  [out] RemoteAccessUserActivityLocal cmdletOutput[]
);

Parameters

UserName [in]

User name for which to get the User Activity

HostIPAddress [in]

Host IP Address for which to get the User Activity

cmdletOutput [out]

On success, contains an array of RemoteAccessUserActivityLocal that describe 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