IADsUser Method: Department

Property Name
Department

Property Type
String

Description
Gets the user's department within a organization.

Example

Dim UserObject As IADsUser
Set UserObject = GetObject("NTDS://DomainName/UserName")
Debug.Print UserObject.Department

 

See Also