@Named public class UsersMembershipController extends MembershipController
Constructor and Description |
---|
UsersMembershipController(MembershipService membershipService) |
Modifier and Type | Method and Description |
---|---|
BatchResultWithFailureReasonsRestDto<DirectoryEntityId> |
addUserToAllGroups(DirectoryEntityId userId,
List<DirectoryEntityId> groups) |
BatchResultWithFailureReasonsRestDto<DirectoryEntityId> |
removeUserFromAllGroups(DirectoryEntityId userId,
List<DirectoryEntityId> groups) |
getMembershipService
@Inject public UsersMembershipController(MembershipService membershipService)
public BatchResultWithFailureReasonsRestDto<DirectoryEntityId> addUserToAllGroups(DirectoryEntityId userId, List<DirectoryEntityId> groups) throws UserNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
public BatchResultWithFailureReasonsRestDto<DirectoryEntityId> removeUserFromAllGroups(DirectoryEntityId userId, List<DirectoryEntityId> groups) throws UserNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
Copyright © 2020 Atlassian. All rights reserved.