O365ProfileGetDataService
class O365ProfileGetDataService
O365ProfileGetDataService service gives basic information about the user.
Properties
| protected GraphService | $o365Graph | The o365.graph service. |
|
| protected ImmutableConfig | $ssoUserConfig | The config of the SSO user module. |
Methods
__construct(GraphService $o365_graph, ConfigFactory $configFactory)
Constructs an O365ProfileGetDataService object.
array
getProfileData(string|null $user_id = NULL, string $photoSize = '64x64', bool $getPhoto = TRUE)
Method gives the basic current logged in user information.
string
getUserInitials(array $profileData)
Get the users initials from the profile data.
Details
at line 37
__construct(GraphService $o365_graph, ConfigFactory $configFactory)
Constructs an O365ProfileGetDataService object.
at line 59
array
getProfileData(string|null $user_id = NULL, string $photoSize = '64x64', bool $getPhoto = TRUE)
Method gives the basic current logged in user information.
at line 114
string
getUserInitials(array $profileData)
Get the users initials from the profile data.