共用方式為


SMS_UserInstancePermissionNames Server WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The SMS_UserInstancePermissionNames Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that lists all the users and the permissions granted to each user for a secured object.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_UserInstancePermissionNames : SMS_BaseClass
{
      String InstanceKey;
      UInt32 ObjectKey;
      UInt32 Permission;
      String PermissionName;
      String UserName;
};

Methods

The SMS_UserInstancePermissionNames class does not define any methods.

Properties

  • InstanceKey
    Data type: String

    Access type: Read

    Qualifiers: [key]

    Unique ID for a secured object. The ID is the value of the key field for that object. The default value is "".

  • ObjectKey
    Data type: UInt32

    Access type: Read

    Qualifiers: [key]

    Numeric key describing the type of secured object. See the ObjectKey property of SMS_SecuredObject Server WMI Class.

  • Permission
    Data type: UInt32

    Access type: Read

    Qualifiers: None

    Access permission for the secured object. The default value is 0.

    There is a separate instance of SMS_UserInstancePermissionNames for each right granted to a user.

  • PermissionName
    Data type: String

    Access type: Read

    Qualifiers: [key]

    Text description of the named permission, for example, Read. The default value is "".

  • UserName
    Data type: String

    Access type: Read

    Qualifiers: [key]

    Name of the user, including the domain name. The default value is "".

Remarks

This class is read-only.

There are no special class qualifiers for this class. For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

Reference

SMS_UserInstancePermissions Server WMI Class

Concepts

Security Server WMI Classes
SMS_SecuredObject Server WMI Class