The SMS_UserInstancePermissions Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a user's instance-level permissions for a specific secured object.

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

Class SMS_UserInstancePermissions : SMS_BaseClass
{
	String InstanceKey;
	UInt32 InstancePermissions;
	UInt32 ObjectKey;
	Boolean ReadFlag;
	String UserName;
};

Methods

The SMS_UserInstancePermissions class does not define any methods.

Properties

InstanceKey


Data type: StringAccess type: Read/WriteQualifiers: [key, ResID(1303), ResDLL("SMS_RSTT.dll")]Unique ID of a secured object. This ID is the value of the key field for the object. The default value is "".
InstancePermissions


Data type: UInt32Access type: Read/WriteQualifiers: [bits, ResID(1304), ResDLL("SMS_RSTT.dll")]Permissions granted to a user for a specific secured object. Possible values are listed below. The default value is 0.\

0

READ

1

MODIFY

2

DELETE

3

DISTRIBUTE

4

Not used

5

REMOTE_CONTROL

6

ADVERTISE

7

MODIFY_RESOURCE

8

ADMINISTER

9

DELETE_RESOURCE

10

CREATE

11

VIEW_COLL_FILE

12

READ_RESOURCE

13

DELEGATE

14

METER

15

MANAGESQLCOMMAND

16

MANAGESTATUSFILTER

17

MANAGEFOLDER

18

NETWORKACCESS

19

IMPORTMACHINE

20

CREATETSMEDIA

21

MODIFYCOLLECTIONSETTING

22

MANAGEOSDCERTIFICATE

23

RECOVERUSERSTATE

ObjectKey


Data type: UInt32Access type: Read/WriteQualifiers: [key, ResID(1301), ResDLL("SMS_RSTT.dll")]Numeric key describing the type of secured object. See the ObjectKey property of SMS_SecuredObject Server WMI Class.
ReadFlag


Data type: BooleanAccess type: Read-onlyQualifiers: [read]true if the user has read permission to the secured object.
UserName


Data type: StringAccess type: Read/WriteQualifiers: [key, ResID(1302), ResDLL("SMS_RSTT.dll")]Name of the user, including the domain name. The default value is "".

Remarks

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

Development Requirements

See Also


Send comments about this topic to Microsoft.