Retrieves a list of rights that belong to the currently logged in user.
Syntax:
UserRightGet()
Parameters:
None
Returns:
The vector containing names of rights assigned to the currently logged-in user.
Example:
If currently logged-in user is 'John Doe' with assigned rights R1 and R2 of current application, then UserRightGet() function call will return the vector containing R1 and R2 in to the first and second cell respectively.
Note:
This function returns NULL in case of no user logged-in and no rights assigned to the logged-in user.