Ilumnis Authentication

StandardValidator.ValidateDomainId Method 

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

public 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.

Implements

IAuthenticationValidator.ValidateDomainId

Exceptions

Exception Type Condition
InvalidDomainIdentifierException Thrown when invalid domainId is passed.

See Also

StandardValidator Class | IExSys.Authentication.Validation Namespace