RsopEnumerateUsers method of the RsopLoggingModeProvider class

Retrieves the list of users whose policy data is available in logging mode. Call the RsopCreateSession method to take a snapshot of the users' data.

This method is implemented in the provider.

Syntax

void RsopEnumerateUsers(
  [out] string userSids[],
  [out] uint32 hResult
);

Parameters

userSids [out]

Receives the list of users on the computer whose logging mode data is available. For more information, see Security Identifiers.

hResult [out]

An HRESULT that indicates the success or failure of the method. If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in the Platform SDK header file WinError.h.

Return value

This method has no return value. For more information, see the description of the hResult parameter.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\RSOP\Computer
MOF
Rsop.mof
DLL
GPSvc.dll

See also

Group Policy Overview

Group Policy RSoP WMI Classes

RsopLoggingModeProvider

RsopCreateSession