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 IQueryable<T>.
See Requesting model collections
and IQueryable performance considerations to learn more.
Declaration
IChatCollection Chats { get; }
Property Value
| IChatCollection |
DisplayName
GivenName
Id
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 |