Security User Instance Permissions

The SMS_UserInstancePermissions class lists all the permissions granted to a user for specific instances of secured classes.

Table B.46 Security User Instance Permissions (SMS_UserInstancePermissions)

PropertyData typeExampleNotes
InstanceKeystring"GRN00002"Key. Indicates a specific SMS object such as a package.
InstancePermissionsuint32See “Interpreting Bitfield Properties” at the beginning of this appendix.Indicates available instance permissions.

Bit flags are:

0 = READ
1 = MODIFY
2 = DELETE
3 = DISTRIBUTE
4 = CREATE_CHILD
5 = REMOTE_CONTROL
6 = ADVERTISE
7 = MODIFY_RESOURCE
8 = ADMINISTER
9 = DELETE_RESOURCE
10 = CREATE
11 = VIEW_COLL_FILE
12 = READ_RESOURCE

ObjectKeyuint322Key. Indicates the class of objects to which the permissions apply.

Values are:
1 = Collection
2 = Package
3 = Advertisement
4 = Status Message
5 = (Reserved)
6 = Site
7 = Query

UserNamestring"GREEN1DOM\\
Administrator"
Key. Indicates the user who has been granted these permissions.