How can i discover the group of a user?

1
0
-1

I want to show the group ( the departament) where the user, that is doing a task, works.

How can I get this group?

My organization is very simple. Each user is member of only one group.

I tryed two ways :

- A task is done by an actor that can be maped to many groups.

- A user can be member of many groups.

1 answer

1
0
-1

Hi,


You can find information related to organization via IdentityApi http://documentation.bonitasoft.com/javadoc/api/6.2/community/common/index.html

You have access to IdentityApi using apiAccessor.getIdentityAPI in Groovy Scripts.

Regards,

Notifications