SMS_CollectionPermission Server WMI Class

 

Updated: November 1, 2013

Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager

The SMS_CollectionPermission Windows Management Instrumentation (WMI) class is an SMS Provider server class, in System Center 2012 R2 Configuration Manager, is used to query and define which collection scopes are associated to an RBAC role.

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

Class SMS_CollectionPermission : SMS_BaseClass
{
      UInt32 AdminID;
      String CollectionID;
      String CollectionName;
      Boolean GrantedToCurrentUser;
      String LogonName;
      String RoleID;
      String RoleName;
};

The SMS_ CollectionPermission class does not define any methods.

AdminID

Data type: UInt32

Access type: Read/Write

Qualifiers: [key]

The administrator id from RBAC, which is used to associate the collection between each instance of this class.

CollectionID

Data type: String

Access type: Read/Write

Qualifiers: [key]

The ID that refers to the collection.

CollectionName

Data type: String

Access type: Read/Write

Qualifiers: None

The name of the collection.

GrantedToCurrentUser

Data type: Boolean

Access type: Read/Write

Qualifiers: None

This value will be true if this permission is granted to the current user directly or indirectly (through a Security Group).

LogonName

Data type: String

Access type: Read/Write

Qualifiers: None

Name of the resource.

RoleID

Data type: UInt32

Access type: Read/Write

Qualifiers: [key]

The role id from RBAC, which is used to associate the collection between each instance of this class.

RoleName

Data type: UInt32

Access type: Read/Write

Qualifiers: None

The name of the RBAC.  

Class qualifiers for this class include:

  • Abstract

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Show: