Interface IMe
Contains information about the current user
Inherited Members
Namespace: PnP.Core.Model.Me
Assembly: PnP.Core.dll
Syntax
public interface IMe : IDataModel<IMe>, IDataModelParent, IDataModelWithContext, ISupportModules<IMe>, IDataModelGet<IMe>, IDataModelLoad<IMe>, IDataModelUpdate
Properties
BusinessPhones
Business phone for the current user
Declaration
List<string> BusinessPhones { get; }
Property Value
List<System.String>
|
Chats
Collection of Chats of the user
Implements
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
IChatCollection Chats { get; }
Property Value
IChatCollection
|
DisplayName
Display name of the current user
Declaration
string DisplayName { get; }
Property Value
System.String
|
GivenName
Given name of the current user
Declaration
string GivenName { get; }
Property Value
System.String
|
Id
The Unique ID of the User/Group
Declaration
Guid Id { get; }
Property Value
Guid
|
JobTitle
Job title of the current user
Declaration
string JobTitle { get; }
Property Value
System.String
|
Email address of the current user
Declaration
string Mail { get; }
Property Value
System.String
|
MobilePhone
Mobile phone number of the current user
Declaration
string MobilePhone { get; }
Property Value
System.String
|
OfficeLocation
Office location of the current user
Declaration
string OfficeLocation { get; }
Property Value
System.String
|
PreferredLanguage
Preferred language used by the current user
Declaration
string PreferredLanguage { get; }
Property Value
System.String
|
SurName
Surname of the current user
Declaration
string SurName { get; }
Property Value
System.String
|
UserPrincipalName
UPN of the current user
Declaration
string UserPrincipalName { get; }
Property Value
System.String
|
Methods
SendMail(MailOptions)
Sends an email under the current user context
Declaration
void SendMail(MailOptions mailOptions)
Parameters
MailOptions
mailOptions
|
SendMailAsync(MailOptions)
Sends an email under the current user context
Declaration
Task SendMailAsync(MailOptions mailOptions)
Parameters
MailOptions
mailOptions
|
Returns
Task
|