@Named public class CrowdUserHelper extends Object
Constructor and Description |
---|
CrowdUserHelper(CrowdService crowdService,
com.atlassian.sal.api.user.UserManager userManager,
UserPermissionService userPermissionService) |
Modifier and Type | Method and Description |
---|---|
Optional<User> |
getCurrentCrowdUser() |
boolean |
isCrowdAdminOutsideOfGroups(String username,
Directory directory,
Collection<String> groups) |
boolean |
isInAnyGroup(String username,
Collection<String> groupNames) |
@Inject public CrowdUserHelper(CrowdService crowdService, com.atlassian.sal.api.user.UserManager userManager, UserPermissionService userPermissionService)
public boolean isCrowdAdminOutsideOfGroups(String username, Directory directory, Collection<String> groups)
public boolean isInAnyGroup(String username, Collection<String> groupNames)
Copyright © 2020 Atlassian. All rights reserved.