Although only the SMS_UserInstancePermissions class is commonly used in SMS scripting, you can also use the following SMS classes for SMS object security:
- SMS_UserInstancePermissions Each
instance of this class represents all the rights for a particular
user or group for that instance.
- SMS_UserInstancePermissionNames Each
instance of this class represents a particular right for a
particular user or group on a particular instance. This class is
useful for display purposes because the rights are already parsed
into a form that you can read, but it takes more scripting to
achieve the same results as the SMS_UserInstancePermissions
class.
- SMS_UserClassPermissions Each
instance of this class represents all the rights for a particular
user or group for a particular class.
- SMS_UserClassPermissionNames Each
instance of this class represents a particular right for a
particular user or group for a particular class. The class is
useful for display purposes because the rights are already parsed
into a form that you can read, but it takes more scripting to
achieve the same results as the SMS_UserClassPermissions
class.
For more information about SMS security features, see Securing SMS 2003 in the SMS 2003 SDK.
See Also
Tasks
How to Set Security Rights for an SMS ObjectConcepts
SMS ObjectsWMI Objects Used in SMS Scripting
Other Resources
Maintaining WMI SecuritySMS Object Security