IADsUser Property: LoginScript

Property Name
LoginScript

Property Type
String

Description
Gets and sets the logon script path.

Remarks
Points to a Unicode string specifying the path of a user's logon script, .CMD, .EXE, or .BAT file. The string can be Null.

Example

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

 

See Also