Ilumnis Authentication

Domain.New Method (Int32, String)

Creates new domain with specific DomainId and name.

public static Domain New(
   int domainId,
   string domainName
);

Parameters

domainId
Database right identifier for new right.
domainName
Name for new domain.

Return Value

New domain object.

Exceptions

Exception Type Condition
InvalidDomainIdentifierException Thrown when invalid domainId is passed.
InvalidDomainNameException Thrown when invalid domainName is passed.

See Also

Domain Class | IExSys.Authentication Namespace | Domain.New Overload List