Expand my Community achievements bar.

SOLVED

Group Members

Avatar

Level 3

Hi All,

 

Good Evening...

Need small  help how to add members into group and i am read the group workflow but not able to new memebers into that gruop.

Can you please help me  code snippet.

Thanks in advance.

 

Used Group Api :  org.apache.jackrabbit.api.security.user.Group

 

Thanks,
Venkatesham G

1 Accepted Solution

Avatar

Correct answer by
Level 10

Refer [1] for the Group API which has addMember() method to add the user into the group

[1] https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/org/apache/jackrabbit/api/security/user/G...

View solution in original post

2 Replies

Avatar

Level 10

See this AEM community article - it shows you what you want to do:

https://helpx.adobe.com/experience-manager/using/jackrabbit-users.html

Hope this helps.

Avatar

Correct answer by
Level 10

Refer [1] for the Group API which has addMember() method to add the user into the group

[1] https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/org/apache/jackrabbit/api/security/user/G...