Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
The SMS_R_UserGroup Windows Management (WMI) class is an SMS Provider server class, in Configuration Manager, that is generated dynamically at SMS Provider run time and contains discovery data for user group objects.
The following syntax is not defined in Managed Object Format (MOF) code.
Class SMS_R_UserGroup : SMS_Resource
{
   String   AgentName[];
   String   AgentSite[];
   DateTime AgentTime[];
   DateTime CreationDate;
   String   Name;
   String   NetworkOperatingSystem;
   UInt32 ResourceID;
   UInt32 ResourceType;
   String   SID;
   String   UniqueUsergroupName;
   String   UsergroupName;
   String   WindowsNTDomain;
};
Methods
The SMS_R_UserGroup class does not define any methods.
Properties
- AgentName 
 Data type: String Array- Access type: Read-only - Qualifiers: None - List of discovery agents that found this resource. 
- AgentSite 
 Data type: String Array- Access type: Read-only - Qualifiers: None - List of sites from which the discovery agents ran. 
- AgentTime 
 Data type: DateTime Array- Access type: Read-only - Qualifiers: None - List of discovery times. 
- Creation Date 
 Data type: DateTime Array- Access type: Read-only - Qualifiers: None - Date and time of creation. 
- Name 
 Data type: String- Access type: Read-only - Qualifiers: None - Group name displayed in the Configuration Manager console. 
- NetworkOperatingSystem 
 Data type: String- Access type: Read-only - Qualifiers: None - Free-form string describing the operating system. 
- ResourceID 
 Data type: UInt32- Access type: Read/Write - Qualifiers: [key] 
- ResourceType 
 Data type: UInt32- Access type: Read-only - Qualifiers: None - Type of resources on the site. For more information, see SMS_ResourceMap Server WMI Class. 
- SID 
 Data type: String- Access type: Read-only - Qualifiers: None - The Active Directory security ID for the group. 
- UniqueUsergroupName 
 Data type: String- Access type: Read-only - Qualifiers: None - Unique user group name in the form domain\group name. 
- UsergroupName 
 Data type: String- Access type: Read-only - Qualifiers: None - Unique user group name that represents the resource within the Windows NT domain. 
- WindowsNTDomain 
 Data type: String- Access type: Read-only - Qualifiers: None - String representing the Windows NT domain associated with the resource. 
Remarks
You cannot create or update resource instances by using WMI, but must create or update resources using discovery data records. Note, however, that you can delete resource instances by using WMI. For more information, see About Using DDRs in Resource Discovery.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
Concepts
Resource Management Server WMI Classes
SMS_Resource Server WMI Class