LogonAsCurrentUser: Boolean;
The LogonAsCurrentUser property determines whether the connection will be established from the current domain user profile.
The True value was set for the property by default, the connection is established with the credentials of the current domain user. If the False value is set for the property, the Domain, UserName and Password properties should be determined to connect to the scheme.
The property use is given in the example for IDomainCredentials.Domain.
See also: