AuthenticateCredentials(String, String):IUser

Checks whether the indicated access data is correct.

Access data for a user can be checked by means of this method.

If the connection to the server is interrupted during the check, then an exception of the type InvalidSessionException is triggered.

If the access data is not correct or the user does not exist, then NULL is returned.

Return type: Onion.Client.IUser

Parameter

userName

Type: System.String

This parameter is the username of the user for whom the access data is to be checked.

password

Type: System.String

This parameter is the password of the user for whom the access data is to be checked.