Previous Next

GetClientPrincipal( ) method
Enables a user to retrieve the sealed client-principal associated with the current connection to the Business Process Server (BP Server). The client-principal holds the credentials of the user logged-in to the BP Server.
Return type:
Access:
Applies to:
 
Syntax 
GetClientPrincipal( )
The UserSession object uses the BP Server SessionId (stored in the UserSession object when the CONNECT( ) method is successfully called) to retrieve the client-principal stored in the BP Server session context. If a valid connection to the BP Server does not exist at the time the GetClientPrincipal( ) method is called, a BPMError object is thrown.
See also:

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