public interface UsersAndGroups
Modifier and Type | Method and Description |
---|---|
void |
addGroup(String groupName)
Adds the specified group.
|
void |
addUser(String username)
Adds a user with all fields set to username and email address as 'username'@example.com.
|
void |
addUser(String username,
String password,
String fullname,
String emailAddress)
Adds a user with specified values.
|
void |
addUser(String username,
String password,
String fullname,
String emailAddress,
boolean sendEmail)
Adds a user with specified values.
|
void |
addUserToGroup(String userName,
String groupName)
Adds the specified user to the specified group
|
void |
addUserWithoutVerifyingResult(String username,
String password,
String fullname,
String emailAddress)
Attempts to add a user with specified values, but does not verify that the add succeeded.
|
void |
addUserWithoutVerifyingResult(String username,
String password,
String fullname,
String emailAddress,
boolean sendEmail)
Attempts to add a user with specified values, but does not verify that the add succeeded.
|
void |
deleteGroup(String groupname)
Removes a group given the groupname.
|
void |
deleteUser(String username)
Removes a user given the username.
|
EditUserPage |
gotoEditUser(String username)
Navigate to the edit user page in the admin section for the given user.
|
void |
gotoUserBrowser()
Navigate to the user browser page.
|
void |
gotoViewUser(String username)
Navigate to the view user page in the admin section for the given user.
|
void |
removeUserFromGroup(String userName,
String groupName)
Removes an user from a specified group.
|
boolean |
userExists(String username)
Check if user with given username exists.
|
void addUser(String username)
username
- The user to add.boolean userExists(String username)
username
- username to check.void addUser(String username, String password, String fullname, String emailAddress)
username
- usernamepassword
- user passwordfullname
- user's fullnameemailAddress
- email address of uservoid addUser(String username, String password, String fullname, String emailAddress, boolean sendEmail)
username
- usernamepassword
- user passwordfullname
- user's fullnameemailAddress
- email address of usersendEmail
- flag to send a notification email to the new uservoid addUserWithoutVerifyingResult(String username, String password, String fullname, String emailAddress)
username
- usernamepassword
- user passwordfullname
- user's fullnameemailAddress
- email address of uservoid addUserWithoutVerifyingResult(String username, String password, String fullname, String emailAddress, boolean sendEmail)
username
- usernamepassword
- user passwordfullname
- user's fullnameemailAddress
- email address of usersendEmail
- flag to send a notification email to the new uservoid deleteUser(String username)
username
- The username of the user to delete.void deleteGroup(String groupname)
groupname
- The name of the group to delete.void gotoViewUser(String username)
username
- The username of the user to view.void gotoUserBrowser()
EditUserPage gotoEditUser(String username)
username
- The username of the user to edit.void addUserToGroup(String userName, String groupName)
userName
- the user to add.groupName
- the group to join.void addGroup(String groupName)
groupName
- the name of the group to create.Copyright © 2002-2022 Atlassian. All Rights Reserved.