ARIS Community - We Love BPM

please help me :(

ahmad.theeb's picture
by Faris adel in Research Projects posted on 2017-06-29

Hi ,

i'm Beginner in script of ARIS , I want to get Access Rights for user and user group , but i don't how to use getAccessRights(Group , int )  :(

Regards ,

5280 Views
0 Likes
4 Comments
Sorry there are no tags
There are no attachments
Jorge Reyna R. posted on 2017-06-29

Hi Ahmad,

The problem is that you are misusing the function:

Or maybe it is not the one you want or need to use:

Best regards
Jorge Reyna R.

Faris adel posted on 2017-06-30

Hi jorge ,

thanks alot , but how to give Group to put as parameter ?

please give me simple example

Best Regards ,

Florian Rese posted on 2017-06-30

Hi Ahmad,

below a small code snippet that might help:

var group = ArisData.getSelectedGroups()[0]; //first entry in the array

SelectedUser.AccessRights(current_group)

SelectedUser could be determined via database.AssignedUsers() for example. Really depends on the Context in which you want to execute the report and your use case.

Faris adel posted on 2017-06-30

Hi Florian Rese  ,

thanks alot bro :)

Regards ,