05 vAPI_add_edit_permission_role
Add new or edit existing permission role
Inputs:
| Input Name |
Required |
Type |
Max Length |
Details |
| $arg_array |
YES |
ASSOC |
-- |
Details follow: |
| $arg_array / company_id |
YES |
INT |
-- |
references: company_master.company_id |
| $arg_array / employee_id |
YES |
INT |
-- |
references: employee_master.employee_id |
| $arg_array / role_code |
YES |
STRING |
32 |
references: permission_roles.role_code |
| $arg_array / role_group |
YES |
STRING |
64 |
references: permission_roles.role_code |
| $arg_array / description |
YES |
STRING |
160 |
references: permission_roles.description |
| $dbconn |
YES |
DBHANDLE |
-- |
Database Connection |
Outputs:
NONE
Error Codes:
| PGQUERY |
Failed SQL query |
| NO_PERMISSION |
User lacks suffcient permissions |
Return to:
Permissions_API Reference
There are no comments on this page. [Add comment]