SMS_UserClassPermissionNames
The SMS_UserClassPermissionNames WMI class lists all the users and the permissions granted to each user for each secured class.
The following syntax is simplified from MOF code and includes all inherited properties.
Class SMS_UserClassPermissionNames : SMS_BaseClass
{
uint32 ObjectKey;
uint32 Permission;
string PermissionName;
string UserName;
};
Properties
ObjectKey
Data type: uint32
Access type: Read-only
Qualifiers: KeyNumeric key that describes the kind of secured object that is specified.
Value Meaning 1 Collection 2 Package 3 Advertisement 4 Status Message 5 (Not used) 6 Site 7 Query Permission
Data type: uint32
Access type: Read-onlyAccess permission for the class. Note that there is a separate instance of SMS_UserClassPermissionNames for each right granted to a user.
PermissionName
Data type: string
Access type: Read-only
Qualifiers: KeyTextual description of the permission, such as Read.
UserName
Data type: string
Access type: Read-only
Qualifiers: KeyName of the user, which includes the domain name.
See Also
Security Class Reference Classes, SMS_UserClassPermissions, SMS_UserInstancePermissionNames