SetCredentials
This function sets or changes the Domain, User or Password values for connecting to the server’s network when using the NTLM connection security authentication option.
Group: Server Extensions
Syntax: [bOK =] Server.SetCredentials([vDomain], [vUserID], [vPassword])
bOK (Boolean) Optional – is a return value; a value of True means the method processed normally.
vDomain (Variant) Optional – is the name of the domain where the credentials will be validated
vUserID (Variant) Optional – is the name of the user
vPassword (Variant) Optional – is the password of the user
Example:
Dim bOK as Boolean
bOK = Server.SetCredentials("RFGEN","MIKE","PASS")