Ilumnis Authentication

IAuthenticationValidator.ValidateUserId Method 

Validates userId and adds custom message to exception, if one is thrown.

int ValidateUserId(
   int userId,
   string message
);

Parameters

userId
Database user identifier to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated database user identifier.

Exceptions

Exception Type Condition
InvalidUserIdentifierException Thrown when invalid userId is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace