IADsService Property: ServiceAccountPath

Property Name
ServiceAccountPath

Property Type
String

Description
Gets and sets the ADsPath of the user object for the account that the service uses to authenticate itself on startup.

Example

Dim serobj As IADsService
'Get the service object
Set serobj = GetObject("NTDS://MSFT/MOON/Messenger")
'Get the service account path property
Debug.Print serobj.ServiceAccountPath
'set the service account path property
serobj.ServiceAccountPath = "NTDS://MSFT/John"
serobj.SetInfo

 

See Also