Class UsersMembershipController
java.lang.Object
com.atlassian.crowd.plugin.rest.service.controller.memberships.MembershipController
com.atlassian.crowd.plugin.rest.service.controller.memberships.UsersMembershipController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddUserToAllGroups
(DirectoryEntityId userId, List<DirectoryEntityId> groups) removeUserFromAllGroups
(DirectoryEntityId userId, List<DirectoryEntityId> groups) Methods inherited from class com.atlassian.crowd.plugin.rest.service.controller.memberships.MembershipController
getMembershipService
-
Constructor Details
-
UsersMembershipController
-
-
Method Details
-
addUserToAllGroups
public BatchResultWithFailureReasonsRestDto<DirectoryEntityId> addUserToAllGroups(DirectoryEntityId userId, List<DirectoryEntityId> groups) throws UserNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException -
removeUserFromAllGroups
public BatchResultWithFailureReasonsRestDto<DirectoryEntityId> removeUserFromAllGroups(DirectoryEntityId userId, List<DirectoryEntityId> groups) throws UserNotFoundException, DirectoryNotFoundException, OperationFailedException, FeatureInaccessibleException
-