Tell whether the current user is in a given role.
Parameters: roleName - the role to check. true if there is a current logged-in user who is in the given role.
Log in the given user.
Parameters: username - the user to log in. Parameters: password - the user's password. throws: LoginException - if the login fails.