Share via


SMS_R_UserGroup

The SMS_R_UserGroup WMI class is generated dynamically at provider run time and contains discovery data for user-group objects.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_R_UserGroup : SMS_Resource
{
  string AgentName();
  string AgentSite();
  datetime AgentTime();
  string Name;
  string NetworkOperatingSystem;
  uint32 ResourceID;
  uint32 ResourceType;
  string SMSAssignedSites();
  string UniqueUsergroupName;
  string UsergroupName;
  string WindowsNTDomain;
};

Properties

  • AgentName
    Data type: string[]
    Access type: Read-only

    List of SMS discovery agent(s) that found this resource.

  • AgentSite
    Data type: string[]
    Access type: Read-only

    List of sites from which the discovery agent ran.

  • AgentTime
    Data type: datetime[]
    Access type: Read-only

    List of discovery times.

  • Name
    Data type: string
    Access type: Read-only

    Group name displayed in the console.

  • NetworkOperatingSystem
    Data type: string
    Access type: Read-only

    Free-form string describing the operating system.

  • ResourceID
    Data type: uint32
    Access type: Read-only
    Qualifiers: Key

    SMS-supplied identifier that uniquely identifies a resource (SMS user group). A ResourceID value is not unique outside the site.

  • ResourceType
    Data type: uint32
    Access type: Read-only

    Numeric identifier that represents the different types of resources in your site. For more information, see SMS_ResourceMap.

  • SMSAssignedSites
    Data type: string[]
    Access type: Read-only

    This property has no meaning in this context.

  • UniqueUsergroupName
    Data type: **string
    **Access type: Read-only

    Unique user group name in the form domain\groupname.

  • UsergroupName
    Data type: string
    Access type: Read-only

    Unique user group name that represents the resource within the Windows NT domain.

  • WindowsNTDomain
    Data type: string
    Access type: Read-only

    String representing the Windows NT domain associated with the resource.

Remarks

You cannot create or update resource instances using WMI. Instead, you create or update resources using discovery data records. For information, see Using DDRs in Resource Discovery.

You can delete resource instances using WMI.

See Also

Resource Management Classes, SMS_R_System, SMS_R_User, SMS_ResourceMap