UserMe
extends BaseComponent
in package
Table of Contents
Properties
- $first_name : string|null
- $id : int
- $is_faculty : bool
- $is_parent : bool
- $is_student : bool
- $last_name : string|null
- $preferred_name : string|null
- $roles : array<string|int, Role>|null
- $suffix : string|null
- $fields : array<string|int, string>
Properties
$first_name
public
string|null
$first_name
The first name of a user
$id
public
int
$id
User Id
$is_faculty
public
bool
$is_faculty
Is faculty
$is_parent
public
bool
$is_parent
Is Parent
$is_student
public
bool
$is_student
Is Student
$last_name
public
string|null
$last_name
The last name of a user
$preferred_name
public
string|null
$preferred_name
Preferred Name
$roles
public
array<string|int, Role>|null
$roles
The current users list of roles
$suffix
public
string|null
$suffix
The suffix of a user
$fields
protected
static array<string|int, string>
$fields
= ["id" => "int", "preferred_name" => "string", "is_student" => "bool", "is_parent" => "bool", "is_faculty" => "bool", "first_name" => "string", "last_name" => "string", "suffix" => "string", "roles" => "\\Blackbaud\\SKY\\School\\Components\\Role[]"]