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<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
GivenName
Id
The Unique ID of the User/Group
Declaration
Guid Id { get; }
Property Value
Guid
|
JobTitle
MobilePhone
Mobile phone number of the current user
Declaration
string MobilePhone { get; }
Property Value
String
|
OfficeLocation
Office location of the current user
Declaration
string OfficeLocation { get; }
Property Value
String
|
PreferredLanguage
Preferred language used by the current user
Declaration
string PreferredLanguage { get; }
Property Value
String
|
SurName
UserPrincipalName
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
|