Imports an unsealed or sealed security token as a RAW data type, creates a corresponding client-principal object, and assigns its handle value to the current Client-principal object handle. This corresponding client-principal object assumes all the property and attribute settings of the source client-principal object when it was exported using the EXPORT-PRINCIPAL( ) method.
Return type:
Applies to:
IMPORT-PRINCIPAL ( expression )A RAW expression containing the security token to import. If the specified expression has the Unknown value (?), the AVM raises a run-time error.If successful, this method returns TRUE. Otherwise, it returns FALSE with any messages returned in the ERROR-STATUS system handle.This method also checks the LOGIN-EXPIRATION-TIMESTAMP attribute. If the client-principal object has expired before you can import it, the AVM sets the LOGIN-STATE attribute to "EXPIRED" and the method returns TRUE.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |