PreviousNext
Help > 32-bit version of the RAD Studio IDE > Easycom For Delphi connector > The Easycom IDAPI Driver (with BDE) > Specific Components > ACE400Usr
ACE400Usr

 Description

 

This component allows to change current user at run time.

 

How to use?

 

Step 1: Fill the username and password

Step 2: Put the active property to true.

 

Be careful: To enable this property, you must provide access rights to the objects QSYGETPH, QWTSETP, and QSYRLSPH.

By default, this objects are only accessible to QSECOFR and QSYS users. Change the rights of this objects only if you need to use this component.

 

 

Properties

 

Active

property Active:boolean;

 

Description

 

This property triggers the user change. If it fails, it will throw an exception. If it succeeds the current right will belongs the users specified by the UserName property.

 

Password

property Password:string;

 

Description

 

Specifies the password of the user to change to. Be careful, if you fill this property at design time, the password will appear in clear during development.

This property can of course be used at run time (just after the Database connection).

 

Username

property UserName:string;

 

Description

 

Specifies the username to change to.