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-onlyQualifiers: NoneList of discovery agents that found this resource.
AgentSite


Data type: String Array Access type: Read-onlyQualifiers: NoneList of sites from which the discovery agents ran.
AgentTime


Data type: DateTime ArrayAccess type: Read-onlyQualifiers: NoneList of discovery times.
CreationDate


Data type: DateTimeAccess type: Read-onlyQualifiers: NoneThe date the record was first created, which is the date when the resource was discovered.
FullUserName


Data type: String Access type: Read-onlyQualifiers: NoneFor 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-onlyQualifiers: NoneUser 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-onlyQualifiers: NoneFree-form string describing the operating system.
ResourceID


Data type: UInt32Access type: Read/Write Qualifiers: [key]See SMS_Resource Server WMI Class.
ResourceType


Data type: UInt32Access type: Read-onlyQualifiers: NoneType of resources on the site. For more information, see SMS_ResourceMap Server WMI Class.
UniqueUserName


Data type: StringAccess type: Read-onlyQualifiers: NoneUnique user name in the form domain\user name.
UserContainerName


Data type: String ArrayAccess type: Read-onlyQualifiers: NoneAn array of Active Directory container names to which the user belongs.
UserGroupName


Data type: String Array Access type: Read-onlyQualifiers: NoneAn array of Active Directory group names to which the user belongs.
UserName


Data type: String Access type: Read-onlyQualifiers: NoneUser logon name.
UserOUName


Data type: String Array Access type: Read-onlyQualifiers: NoneAn array of Active Directory organizational units (OUs) to which the user belongs.
WindowsNTDomain


Data type: StringAccess type: Read-onlyQualifiers: NoneWindows 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

Development Requirements

See Also


Send comments about this topic to Microsoft.