Function "RemoveRoleFromUser()"

Top  Previous  Next

Removes a role from the given user account.

Syntax:

RemoveRoleFromUser(username, rolename)

 

Parameters:

username

the name of the user account.

rolename

the name of the role to remove from the user account.

 

Completion Codes:

0: Normal completion

8: username is invalid or disabled

12: Syntax error or Security Broker error

 

Example:

RemoveRoleFromUser(username, 'MANAGER')

 

See SML Functions