public class UsersResource extends Object
Constructor and Description |
---|
UsersResource(UsersEntityBuilder usersEntityBuilder,
PermissionManager permissionManager,
UserAccessor userAccessor) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createUser(UserCreateRequestEntity request) |
javax.ws.rs.core.Response |
createUsers(String usernamesStr,
String emailDomain)
Accepts comma-separated usernames and creates users for them, with each user's email address the username plus
'@' and the domain name.
|
javax.ws.rs.core.Response |
getUsers(int startIndex,
int maxResults) |
public UsersResource(UsersEntityBuilder usersEntityBuilder, PermissionManager permissionManager, UserAccessor userAccessor)
public javax.ws.rs.core.Response getUsers(int startIndex, int maxResults)
public javax.ws.rs.core.Response createUser(UserCreateRequestEntity request)
public javax.ws.rs.core.Response createUsers(String usernamesStr, String emailDomain)
usernamesStr
- a comma-separated list of usernames to createemailDomain
- the domain name for the email-address to create for each userCopyright © 2003–2017 Atlassian. All rights reserved.