Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
5 subscribers
Views
1262 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Will GroupService.findGroupsPaging() method find Restricted & Personal group
sivananthag
over 9 years ago
Will GroupService.findGroupsPaging() method find Restricted & Personal groups?
I am using this method to find public group and it works fine for public group. But when i tried to use this method for finding "Restricted" / "Personal" groups, the code fails. the groupArray size returned is zero.
I am using the below code for finding group which works for public group & does not work for personal / restricted group.
GroupService grpService = getGroupService();
GroupSearch grpSearch = new GroupSearch();
grpSearch.setGroupName(groupName);
grpSearch.setOperatorGroupName(GroupSearch.Operators.EQUALS);
ResultPage allGroupsResultPage = new ResultPage();
int startIndex = 0;
int batchSize = Constants.COUNT_ALL;
allGroupsResultPage = grpService.findGroupsPaging(grpSearch, false, startIndex, batchSize,Group.SORT_BY_GROUP_NAME, Constants.SORT_ORDER_ASCENDING);
please suggest how to find personal / retstricted groups using the API.
...
OriginalPostID-133973
OriginalPostID-133973
Discussion posts and replies are publicly visible
Parents
0
Ricardo Galvan
Appian Employee
over 9 years ago
Are you trying to search it through a user that has access to those groups? If not, this should be the expected behavior
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Ricardo Galvan
Appian Employee
over 9 years ago
Are you trying to search it through a user that has access to those groups? If not, this should be the expected behavior
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data