UsersIdProfiles
Table of Contents
- addRoles() : void
- add user roles to a user.
- find() : UsersIdProfilesProfileId
- Find by profileId
Methods
addRoles()
add user roles to a user.
public
addRoles(array<string|int, mixed>|null $userRoles) : void
Parameters
- $userRoles : array<string|int, mixed>|null
-
user roles array to add
Tags
Return values
void —find()
Find by profileId
public
find(string $profileId) : UsersIdProfilesProfileId
Parameters
- $profileId : string
-
The profile identifier