class UsersActions extends UsersDAO
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UsersActions
- UsersDAO
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new UsersActions(context: DynamicsContext)
Value Members
-
def
addRole(systemuserId: String, roleId: String): IO[Boolean]
- Definition Classes
- UsersDAO
- val addRoles: Action
- val addRolesFromQuery: Action
- implicit val dec: EntityDecoder[IO, SystemuserJS]
-
val
dynclient: DynamicsClient
- Definition Classes
- UsersActions → UsersDAO
-
val
ec: ExecutionContext
- Definition Classes
- UsersActions → UsersDAO
- def get(command: String): Action
-
def
getRoleByName(name: String): IO[Option[RoleJS]]
- Definition Classes
- UsersDAO
-
def
getRoles(organizationId: Option[String] = None, businessUnitId: Option[String] = None): IO[Seq[RoleJS]]
- Definition Classes
- UsersDAO
-
def
getRolesForUser(id: String): IO[Seq[RoleJS]]
- Definition Classes
- UsersDAO
-
def
getUserAndCurrentRolesByEmail(email: String): IO[Option[(SystemuserJS, Seq[RoleJS])]]
Get user and roles if user does not exist return None.
Get user and roles if user does not exist return None.
- Definition Classes
- UsersDAO
-
def
getUserByEmail(email: String): IO[Option[SystemuserJS]]
- Definition Classes
- UsersDAO
-
def
getUsers(): IO[Seq[SystemuserJS]]
- Definition Classes
- UsersDAO
- val list: Action
- val listRoles: Action
- val listUserRoles: Action
-
def
removeRole(systemuserId: String, roleId: String): IO[Boolean]
- Definition Classes
- UsersDAO
- val removeRoles: Action
- def renderRoleList(config: CommonConfig, roles: Seq[RoleJS]): String
-
def
validateRoleNames(names: Seq[String]): IO[(Seq[String], Seq[String], Seq[RoleNameJS])]
Given a list of string role names, return (valid, invalid, all) role names.
Given a list of string role names, return (valid, invalid, all) role names. "all" is all role (id, name) tuples in the org.
- Definition Classes
- UsersDAO