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;
};

Methods

The SMS_ CollectionPermission class does not define any methods.

Properties

AdminID

Data type: UInt32Access type: Read/WriteQualifiers: [key]The administrator id from RBAC, which is used to associate the collection between each instance of this class.
CollectionID

Data type: StringAccess type: Read/WriteQualifiers: [key]The ID that refers to the collection.
CollectionName

Data type: StringAccess type: Read/WriteQualifiers: NoneThe name of the collection.
GrantedToCurrentUser

Data type: BooleanAccess type: Read/WriteQualifiers: NoneThis value will be true if this permission is granted to the current user directly or indirectly (through a Security Group).
LogonName

Data type: StringAccess type: Read/WriteQualifiers: NoneName of the resource.
RoleID

Data type: UInt32Access type: Read/WriteQualifiers: [key]The role id from RBAC, which is used to associate the collection between each instance of this class.
RoleName

Data type: UInt32Access type: Read/WriteQualifiers: NoneThe name of the RBAC.  

Remarks

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.

Requirements

Runtime Requirements

Development Requirements

See Also