Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IAuthProvider.Authenticate Method

Authenticates the user into the portal. Throws an `AccessDeniedException` if the user is not property authenticated.

void Authenticate(
string username,
string password,
AuthInfo authInfo
);

#### Parameters

username
  the user to authenticate
password
  the user's password
authInfo
  an `AuthInfo` object containing information about this authentication source; can be null. Note that the names in the `NamedValue`s in authInfo will be uppercase.

#### Exceptions

Exception Type | Condition
--- | ---
ServiceException | if an error occurred

#### See Also

IAuthProvider Interface | Plumtree.Remote.Auth Namespace