/// <summary> /// Authenticate a user. /// </summary> /// <param name="AUserID">User ID.</param> /// <param name="APassword">Password.</param> /// <param name="AClientComputerName">Name of the Client Computer that the authentication request came from.</param> /// <param name="AClientIPAddress">IP Address of the Client Computer that the authentication request came from.</param> /// <param name="ASystemEnabled">True if the system is enabled, otherwise false.</param> /// <param name="ATransaction">Instantiated DB Transaction.</param> /// <returns>An instance of <see cref="TPetraPrincipal"/> if the authentication was successful, otherwise null.</returns> public IPrincipal PerformUserAuthentication(string AUserID, string APassword, string AClientComputerName, string AClientIPAddress, out Boolean ASystemEnabled, TDBTransaction ATransaction) { return(TUserManagerWebConnector.PerformUserAuthentication(AUserID, APassword, AClientComputerName, AClientIPAddress, out ASystemEnabled, ATransaction)); }
/// <summary> /// authenticate a user /// </summary> public IPrincipal PerformUserAuthentication(string AUserName, string APassword, out Boolean ASystemEnabled) { return(TUserManagerWebConnector.PerformUserAuthentication(AUserName, APassword, out ASystemEnabled)); }