SMS_R_User Server WMI Class
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_User Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that is generated dynamically at SMS Provider run time and contains data discovery for users within a Configuration Manager site hierarchy.
The following syntax is not defined in Managed Object Format (MOF) code.
Class SMS_R_User : SMS_Resource
{
String AgentName[];
String AgentSite[];
DateTime AgentTime[];
DateTime CreationDate[];
String FullUserName;
String Name;
String NetworkOperatingSystem;
UInt32 ResourceID;
UInt32 ResourceType;
String UniqueUserName;
String UserContainerName[];
String UserGroupName;
String UserName;
String UserOUName[];
String WindowsNTDomain;
};
Methods
The SMS_R_User class does not define any methods.
Properties
AgentName
Data type: String ArrayAccess type: Read-only
Qualifiers: None
List of discovery agents that found this resource.
AgentSite
Data type: String ArrayAccess type: Read-only
Qualifiers: None
List of sites from which the discovery agents ran.
AgentTime
Data type: DateTime ArrayAccess type: Read-only
Qualifiers: None
List of discovery times.
CreationDate
Data type: DateTimeAccess type: Read-only
Qualifiers: None
The date the record was first created, which is the date when the resource was discovered.
FullUserName
Data type: StringAccess type: Read-only
Qualifiers: None
For Windows NT users, the value of the Full Name property of User Properties; for Windows 2000 users, the value of the Display Name property in Active Directory.
Name
Data type: StringAccess type: Read-only
Qualifiers: None
User name displayed in the Configuration Manager console. Its format is UniqueUserName (FullUserName), where FullUserName is included only if it contains a value.
NetworkOperatingSystem
Data type: StringAccess type: Read-only
Qualifiers: None
Free-form string describing the operating system.
ResourceID
Data type: UInt32Access type: Read/Write
Qualifiers: [key]
ResourceType
Data type: UInt32Access type: Read-only
Qualifiers: None
Type of resources on the site. For more information, see SMS_ResourceMap Server WMI Class.
UniqueUserName
Data type: StringAccess type: Read-only
Qualifiers: None
Unique user name in the form domain\user name.
UserContainerName
Data type: String ArrayAccess type: Read-only
Qualifiers: None
An array of Active Directory container names to which the user belongs.
UserGroupName
Data type: String ArrayAccess type: Read-only
Qualifiers: None
An array of Active Directory group names to which the user belongs.
UserName
Data type: StringAccess type: Read-only
Qualifiers: None
User logon name.
UserOUName
Data type: String ArrayAccess type: Read-only
Qualifiers: None
An array of Active Directory organizational units (OUs) to which the user belongs.
WindowsNTDomain
Data type: StringAccess type: Read-only
Qualifiers: None
Windows NT domain that is associated with the resource.
Remarks
You cannot create or update resource instances by using WMI, but must create or update resources by using data discovery 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