The GetUserList Windows Management Instrumentation (WMI) class method, in Configuration Manager, returns the list of users who have been granted permission to this object.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

UInt32 GetUserList(
	 SMS_BaseClass ref ObjectPath,
	 String UserNames[],
	 Uint32 PermittedOperations[]
);

Parameters

ObjectPath

Data type: SMS_BaseClassQualifiers: [in]The path of the object.
UserNames

Data type: String ArrayQualifiers: [out]Logon names of the users.
PermittedOperations

Data type: UInt32 ArrayQualifiers: [out]Granted permissions.

Return Values

A UInt32 data type that is 0 to indicate success or non-zero to indicate failure.

Requirements

Runtime Requirements

Development Requirements

See Also