# Role Concept

## Determine the Access Privileges of a User

| In order to determine if the current user has a specific access privilege - e.g. as part of a LogiView procedure - the xtask_chk (access privilege) userexit must be called.
| To this end, add the following LogiView procedure in the logic model CUS_TASK.
| LogiView Procedure
    10 RESULT = @xtask_chk("EDB-ART-CPY")

    20 if (RESULT == 0)

    30   put ("Has privilege")

    40 else

    50   put ("Does not have privilege")

    60 endif