Page History
...
Changes to authority will have no impact if security checking is disabled for the type of object (process, function, or file). To determine your security settings on IBM i refer to Execution and Security Settings in the Review System Settings facility described in the LANSA for i User Guide. To determine your security settings on Windows, or applications deployed to Linux, refer to the x_defppp.h file that you compiled your processes and forms with. You can find out more about this file in The X_DEFppp.H Definition Header File.
Arguments
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Object name. | 1 | 10 | ||
2 | A | Req | Object extension. | 1 | 10 | ||
3 | A | Req | Object type. Valid types are: AT - Application template* *Do not use with Visual LANSA. | 2 | 2 | ||
4 | A | Req | User name. | 1 | 10 | ||
5 | A | Req | Access rights This is a string of 2 character codes representing the different access rights that the user is to have. The individual access rights are: UD - Use Definition If the entire string is blank then the user is to have their access rights to the object revoked. If the string has the special value '*DELETE' then the user's authority is to be deleted, thus causing their rights to revert back to their associated group profile or *PUBLIC. | 1 | 20 |
Dependencies
Object Type | Object Name | Object Extension | |
|---|---|---|---|
AT | template name | *blank | |
DF | field name | *blank | |
FD | file name | *blank, *LIBL, library name | |
PD | process name | *blank | |
PF | process name | function name | |
P# | partition name | *blank | |
SV | positions 1-10 of system variable name | positions 11-20 of system variable name | |
MT | positions 1-10 of multilingual variable name | positions 11-20 of multilingual variable name | |
Return Values
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Return code OK = The authority of the user to the LANSA object has been set. | 2 | 2 |