Caution: Use caution when registering domains in the session domain registry using the REGISTER-DOMAIN( ) method. You can introduce the risk for a security breach by allowing the registration of rogue domains between registering your own domains and locking the registry. Consider using the LOAD-DOMAINS( ) method, which loads all domain registry information directly from the local domain registry of a connected OpenEdge database (including multi-tenant databases).
Return type:
Applies to:
REGISTER-DOMAIN ( domain-name , access-code, domain-description , domain-type )A character expression that specifies the name of this security domain. For information on the restricted character set to use for this value, see the DOMAIN-NAME attribute entry.To authenticate or validate a user identity against a session domain registry built using REGISTER-DOMAIN( ), you must call the LOCK-REGISTRATION( ) method, which also locks and prevents any further registration of domains in the domain session registry.If successful, this method returns TRUE. Otherwise, it returns FALSE. Note that you cannot call REGISTER-DOMAIN( ) successfully if you have already called the LOAD-DOMAINS( ) method or the LOCK-REGISTRATION( ) method.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |