Function ''SetRole()''

Top  Previous  Next

Creates a new role or updates an existing role in the security system.

Syntax:

SetRole(rolename, roledesc)

 

Parameters:

rolename 

the name of the role to create or to update.

roledesc 

the role description.

 

Completion Codes:

 0: Normal completion

12: Syntax error or Security Broker error

 

Example:

SetRole('MANAGER','Manager Role')