Method | Description | |
---|---|---|
findAllRoles ( ) : array | Searches for all roles. | |
findRoleById ( integer $id ) : Sulu\Component\Security\Authentication\RoleInterface | Finds a role with a specific id. | |
getRoleNames ( ) : array | Return an array containing the names of all the roles. |
public findRoleById ( integer $id ) : Sulu\Component\Security\Authentication\RoleInterface | ||
$id | integer | id of the role |
return | Sulu\Component\Security\Authentication\RoleInterface |
public getRoleNames ( ) : array | ||
return | array |