Sample Code To Check Rights
*Create a new Codeunit, named SecurityManagement in this example, to include the code to access the role tables
*Create the following C/AL Globals