adTempus API
PreviousUpNext
ICredentialProfile::ValidateLoginCredentials Method

Validates that a user ID and password combination are valid.

C++
HRESULT ValidateLoginCredentials();
C#
ValidateLoginCredentials();
Visual Basic
Sub ValidateLoginCredentials()

ValidateLoginCredentials attempts to perform a Windows log in (on the server) using the specified user ID and password. 

The method succeeds if the user ID/password combination is valid, or fails if the login is unsuccessful. In the event of a failure, the thread's error object contains information about the failure (available through the COMException in .NET).

adTempus API Reference version 3.0.0.0, revised 10/30/2008