Share via


GetBySessionId method of the PS_RemoteAccessUserActivityLocal class

Retrieves the user activity for a particular session.

Syntax

uint32 GetBySessionId(
  [in]  uint64                        SessionId,
  [out] RemoteAccessUserActivityLocal cmdletOutput[]
);

Parameters

SessionId [in]

Identifier of the session for which to get the User Activity

cmdletOutput [out]

On success, returns an array of RemoteAccessUserActivityLocal objects that describe the User Activity objects for the specified session.

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