Ilumnis Authentication

AuthenticationValidator.ValidateDomainId Method (Int32, String)

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

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

AuthenticationValidator Class | IExSys.Authentication.Validation Namespace | AuthenticationValidator.ValidateDomainId Overload List