Class AdminUserResource
- java.lang.Object
-
- com.atlassian.confluence.plugins.restapi.resources.AdminUserResource
-
-
Constructor Summary
Constructors Constructor Description AdminUserResource(PersonService personService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsedelete(String username)Delete the givenUseridentified by username.javax.ws.rs.core.Responsedisable(String username)Disable the givenUseridentified by username.javax.ws.rs.core.Responseenable(String username)Enable the givenUseridentified by username.
-
-
-
Constructor Detail
-
AdminUserResource
public AdminUserResource(PersonService personService)
-
-
Method Detail
-
disable
public javax.ws.rs.core.Response disable(String username)
Disable the givenUseridentified by username. This method is idempotent i.e. if the user is already disabled then no action will be taken.- Parameters:
username- The username identifying the given user.
-
enable
public javax.ws.rs.core.Response enable(String username)
Enable the givenUseridentified by username. This method is idempotent i.e. if the user is already enabled then no action will be taken.- Parameters:
username- The username identifying the given user.
-
-