IADsService Property: ServiceAccountName

Property Name
ServiceAccountName

Property Type
String

Description
Gets and sets the name of 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 name property
Debug.Print serobj.ServiceAccountName
'Set the service account name property
serobj.ServiceAccountName = "MSFT\Merry"
serobj.SetInfo

 

See Also