Sets the password for NTLM/Kerberos authentication. In contrary to the WebSetUserAuth function it does not change the credentials for a basic user authentication.
WebAPI.bdh
WebSetUserAuthNtlm( in sUsername : string, in sPassword : string ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sUsername | User name. If you have to specify a domain use the notation: "domain\\user". |
sPassword | Password. |
dcltrans transaction TMyTransaction begin WebSetUserAuthNtlm("testlab\\steve", "secret"); WebUrl("http://lab1/"); WebSetUserAuthNtlm("", ""); end TMyTransaction;