Ilumnis Authentication

IAuthenticationValidator.ValidateDomainId Method 

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

int ValidateDomainId(
   int domainId,
   string message
);

Parameters

domainId
DomainId to be validated.
message
Message text to add to exception text, if an exception is thrown.

Return Value

Validated DomainId.

Exceptions

Exception Type Condition
InvalidDomainIdentifierException Thrown when invalid domainId is passed.

See Also

IAuthenticationValidator Interface | IExSys.Authentication.Validation Namespace