DataUser.ListUserWithRolescurrentUser, EMAIL, PASSWORD, tasProperties| Constructor and Description |
|---|
DataUserAIS() |
| Modifier and Type | Method and Description |
|---|---|
UserModel |
createUser(String userName,
String password)
Creates a new random user with a specific user name on test server defined in
TasProperties
file. |
UserModel |
createUserWithCustomEmailAddressInAlfresco(String userName,
String password,
String domain)
Creates a new random user with a specific username, password and e-mail address on the test server defined in
TasProperties |
UserModel |
createUserWithTenant(String userName)
Creates a new random user with a specific user name on test server defined in
TasProperties
file. |
void |
deleteUser(UserModel userToDelete)
Delete user
|
void |
disableUser(UserModel userToDisable)
Disable user
|
addUsersWithRolesToSite, addUserToSite, assertTrashCanDoesNotHaveContent, assertTrashCanHasContent, assertUserDoesNotExist, assertUserExist, assertUserExist, assertUserIsAuthorized, assertUserIsNotAuthorized, createRandomTestUser, createRandomTestUser, createUser, createUser, isUserInRepo, login, logout, removeUserFromSite, setUserQuotaassertExtensionAmpExists, assertLogLineIs, getAdminUser, getAlfrescoHome, getCurrentSite, getCurrentSpace, getCurrentUser, getDataDictionaryPath, getLastResource, getRootPath, getSitesPath, getUserHomesPath, isAFile, setCurrentSite, setCurrentSpace, setCurrentUser, setLastResource, usingAdmin, usingLastServerLogLines, usingResource, usingRoot, usingSite, usingSite, usingUser, usingUserHome, usingUserHome, withJMXpublic UserModel createUser(String userName, String password) throws DataPreparationException
DataUserTasProperties
file.
If no user is specified with TestData.usingUser(UserModel) then the random user is created with admincreateUser in class DataUserDataPreparationExceptionpublic UserModel createUserWithCustomEmailAddressInAlfresco(String userName, String password, String domain) throws DataPreparationException
DataUserTasPropertiescreateUserWithCustomEmailAddressInAlfresco in class DataUserDataPreparationExceptionpublic UserModel createUserWithTenant(String userName) throws DataPreparationException
DataUserTasProperties
file.
The user is created with user specified with TestData.usingUser(UserModel)createUserWithTenant in class DataUserDataPreparationExceptionpublic void deleteUser(UserModel userToDelete) throws DataPreparationException
DataUserdeleteUser in class DataUseruserToDelete - UserModel user deleteDataPreparationExceptionpublic void disableUser(UserModel userToDisable)
DataUserdisableUser in class DataUserCopyright © 2005–2019 Alfresco Software. All rights reserved.