Class

eZ\Publish\API\Repository\Values\User\UserRoleAssignment

abstract class UserRoleAssignment extends RoleAssignment

This class represents a user to role assignment.

Methods

RoleLimitation|null getRoleLimitation()

Returns the limitation of the role assignment.

from RoleAssignment
Role getRole()

Returns the role to which the user or user group is assigned to.

from RoleAssignment
User getUser()

Returns the user to which the role is assigned to.

Details

in RoleAssignment at line 33
abstract public RoleLimitation|null getRoleLimitation()

Returns the limitation of the role assignment.

Return Value

RoleLimitation|null

in RoleAssignment at line 40
abstract public Role getRole()

Returns the role to which the user or user group is assigned to.

Return Value

Role

at line 23
abstract public User getUser()

Returns the user to which the role is assigned to.

Return Value

User