PreviousNextIndex

SET-DB-CLIENT function

Uses the user ID represented by a sealed and validated Client-principal object to set a client user ID for the specified OpenEdge database. Returns TRUE if the user ID is set successfully; otherwise, it returns FALSE.

Note: Using this function overrides the database user ID previously set by either the SET-CLIENT( ) method or the SETUSERID function.

When a user ID is set on a connected database, the AVM uses that user ID to determine whether the user has permission to access tables and fields in that particular database.

Syntax

SET-DB-CLIENT( client-principal-handle  
  [ , integer-expression | logical-name | alias ] ) 

client-principal-handle
integer-expression
logical-name or alias
Notes
See also

Client-principal object handle, SET-CLIENT( ) method, SETUSERID function


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex