|
Options |
Name |
Purpose |
|
|
LOGICAL AssertUser ()
|
/* Asserts the user represented by this token in the current session.
Will set for all connected dbs.
@return logical TRUE if the assertion passed */
|
|
|
LOGICAL AssertUser (character)
|
/* Asserts the user represented by this token in the current session.
Passing in a value of * results in asserting the user against all
connected DB's.
@param character The name of the connected database (logical or alias)
into which the user is asserted.
@return logical TRUE if the assertion passed */
|
|
|
LOGICAL Authorize (character)
|
/* Authorises the current token for a particular role
@param character A non-empty role
@return logical TRUE if the user is authorised for the given role */
|
|
|
LOGICAL Authorize (character[])
|
/* Authorises the current token for all given roles
@param character[] A non-empty array of roles
@return logical TRUE if the user is authorised for ALL the given roles */
|
|
|
LOGICAL AuthorizeAll (character[])
|
/* Authorises the current token for all given roles
@param character[] A non-empty array of roles
@return logical TRUE if the user is authorised for ALL the given roles */
|
|
|
LOGICAL AuthorizeOne (character[])
|
/* Authorises the current token for ONE of the given roles
@param character[] A non-empty array of roles
@return logical TRUE if the user is authorised for ONE the given roles */
|
|
|
OpenEdge.Security.Principal Import ()
|
/* Creates a new Principal from the CP asserted in this session
@return Principal A new object representing the input CP. May be null */
|
|
|
OpenEdge.Security.Principal Import (character)
|
/* Creates a new Principal from BASE64 data
@param character An exported version of a CP, encoded as base64
@return Principal A new object representing the input CP */
|
|
|
OpenEdge.Security.Principal Import (integer)
|
/* Creates a new Principal from the CP asserted against a database
@param integer The logical DB connection number
@return Principal A new object representing the input CP. May be null */
|
|
|
OpenEdge.Security.Principal Import (Memptr)
|
/* Creates a new Principal from a object-wrapper memptr
CALLER IS RESPONSIBLE FOR MEMORY DEALLOCATION
@param Memptr The OO wrapper containing the CP
@return Principal A new object representing the input CP. May be null */
|
|
|
OpenEdge.Security.Principal Import (memptr)
|
/* Creates a new Principal from a primitive memptr.
CALLER IS RESPONSIBLE FOR MEMORY DEALLOCATION
@param memptr The CP
@return Principal A new object representing the input CP. May be null */
|
|
|
OpenEdge.Security.Principal Import (OERequestInfo)
|
/* Creates a new Principal from the CP returned by a server.
@param OERequestInfo The request info containing the CP
@return Principal A new object representing the input CP. May be null */
|
|
|
OpenEdge.Security.Principal Import (raw)
|
/* Creates a new Principal from RAW data
@param raw An exported version of a CP
@return Principal A new object representing the input CP */
|
|
|
LOGICAL Validate ()
|
/* Validates the current token.
@return logical TRUE if the token is valid. */
|
|
|
LOGICAL Validate (character)
|
/* Validates the current token.
@param character The key used to seal the principal
@return logical TRUE if the token is valid. */
|