Share via


SMS_UserInstancePermissionNames

The SMS_UserInstancePermissionNames WMI class lists all the users, and the permissions granted to each user, for specific instances of the secured classes.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_UserInstancePermissionNames : SMS_BaseClass
{
  string InstanceKey;
  uint32 ObjectKey;
  uint32 Permission;
  string PermissionName;
  string UserName;
};

Properties

  • InstanceKey
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    Uniquely identifies an instance of a secured object. It is the value of the key field for that instance.

  • ObjectKey
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    Numeric key describing the type of secured object being 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/write

    Access permission for the instance. Note that there is a separate instance of SMS_UserInstancePermissionNames for each right granted to a user.

  • PermissionName
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    Textual description of the named permission, such as Read.

  • UserName
    Data type: string
    Access type: Read/write
    Qualifiers: Key

    Name of the user, which includes the domain name.

See Also

Security Class Reference Classes, SMS_UserClassPermissionNames, SMS_UserInstancePermissions