IADsComputer Property: Owner

Property Name
Owner

Property Type
String

Description
It gets the name of the person that typically uses the computer and has a license to run the installed software, since the user is the registered owner of a computer.

Remarks
This property is read from the registry of a remote computer. If the remote computer is running Windows 95 then you must ensure that the flag named Enable Remote Administration of Server has been made ON through Control Panel.

Example

Dim ComputerObject As IADsComputer
'Fill in the correct values for <DomainName> and <ComputerName>
Set ComputerObject = GetObject("NTDS://<DomainName>/<ComputerName>")
Debug.Print ComputerObject.Owner

 

See Also