AdminAccessUserManagerInterface

Extends

Interface AdminAccessUserManagerInterface

category

System

package

AdminAccess

subpackage

Managers

Methods

Adds role to user by customer ID.

addRoleToUserByCustomerId(\IdType $roleId, \IdType $customerId) : \AdminAccessUserManagerInterface

Arguments

$roleId

\IdType

Role ID.

$customerId

\IdType

Customer ID.

Response

\AdminAccessUserManagerInterface

Returns same instance for chained method calls.

Deletes user by customer ID.

deleteUserByCustomerId(\IdType $customerId) : \AdminAccessUserManagerInterface

Arguments

$customerId

\IdType

Customer ID.

Response

\AdminAccessUserManagerInterface

Returns same instance for chained method calls.

Gets collection of all roles of a certain user.

getRolesByCustomerId(\IdType $id) : \AdminAccessRoleCollection

Arguments

$id

\IdType

User ID.

Response

\AdminAccessRoleCollection

Collection of all roles that the certain user has.

Removes role from user by customer ID.

removeRoleFromUserByCustomerId(\IdType $roleId, \IdType $customerId) : \AdminAccessUserManagerInterface

Arguments

$roleId

\IdType

Role ID.

$customerId

\IdType

Customer ID.

Response

\AdminAccessUserManagerInterface

Returns same instance for chained method calls.