Previous Next

LOGIN-STATE attribute
Returns a character value that represents the current state of the client-principal object.
Data type:
Access:
Applies to:
Table 88 lists the valid values and how they can be set.
 
(Default value]) From the creation of an unsealed client-principal object using the CREATE CLIENT-PRINCIPAL statement until the object is sealed, and after calling the INITIALIZE( ) method on a sealed or unsealed client-principal object in any state.
After executing the LOGOUT( ) method on a sealed client-principal object in the LOGIN state or SSO state.
After executing the AUTHENTICATION-FAILED( ) method on an unsealed client-principal object or after a user authentication operation fails on an unsealed client-principal object when calling the SET-CLIENT( ) method or SET-DB-CLIENT function.
Figure 2 illustrates the supported transitions between the states described in Table 88.
Figure 2:
When the AVM sets this attribute, it also sets the STATE-DETAIL attribute with a description of the current state. If this setting occurs as a result of invoking the AUTHENTICATION-FAILED( ) method, the AVM uses any string value you pass to this method to set the STATE-DETAIL attribute.
Attempting to write to this attribute returns a warning message.
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.