c

dynamics.cli

UsersActions

class UsersActions extends UsersDAO

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UsersActions
  2. UsersDAO
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UsersActions(context: DynamicsContext)

Value Members

  1. def addRole(systemuserId: String, roleId: String): IO[Boolean]
    Definition Classes
    UsersDAO
  2. val addRoles: Action
  3. val addRolesFromQuery: Action
  4. implicit val dec: EntityDecoder[IO, SystemuserJS]
  5. val dynclient: DynamicsClient
    Definition Classes
    UsersActionsUsersDAO
  6. val ec: ExecutionContext
    Definition Classes
    UsersActionsUsersDAO
  7. def get(command: String): Action
  8. def getRoleByName(name: String): IO[Option[RoleJS]]
    Definition Classes
    UsersDAO
  9. def getRoles(organizationId: Option[String] = None, businessUnitId: Option[String] = None): IO[Seq[RoleJS]]
    Definition Classes
    UsersDAO
  10. def getRolesForUser(id: String): IO[Seq[RoleJS]]
    Definition Classes
    UsersDAO
  11. 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
  12. def getUserByEmail(email: String): IO[Option[SystemuserJS]]
    Definition Classes
    UsersDAO
  13. def getUsers(): IO[Seq[SystemuserJS]]
    Definition Classes
    UsersDAO
  14. val list: Action
  15. val listRoles: Action
  16. val listUserRoles: Action
  17. def removeRole(systemuserId: String, roleId: String): IO[Boolean]
    Definition Classes
    UsersDAO
  18. val removeRoles: Action
  19. def renderRoleList(config: CommonConfig, roles: Seq[RoleJS]): String
  20. 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