Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

User Group Checking with SOAP

srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2012

In UserUtil, Group and User objects, i dont see any approved method which checks whether a user exists in a specific group. Is thre any other way to find this?

1 answer

1 accepted

1 vote
Answer accepted
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2012
Hi Srinivas, Not quite sure if you are talking about server side checks. if you write code on the server side you might use http://docs.atlassian.com/jira/latest/com/atlassian/jira/security/groups/GroupManager.html There is A isUserInGroup method for user/groups specified as string or crowd objects
srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2012

Hi Dieter, Thanks for your information. Can you tell me how can i get a GroupManager reference for accessing that method?

Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2012
ComponentManager.getComponentInstanceOfType(GroupManager.class) You still need to cast this to GroupManager
srinivasp
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2012

Thanks Dieter..

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events