Table of Contents

Interface IMe

Namespace
PnP.Core.Model.Me
Assembly
PnP.Core.dll

Contains information about the current user

public interface IMe : IDataModel<IMe>, IDataModelParent, IDataModelWithContext, ISupportModules<IMe>, IDataModelGet<IMe>, IDataModelLoad<IMe>, IDataModelUpdate
Inherited Members
Extension Methods

Properties

BusinessPhones

Business phone for the current user

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.

IChatCollection Chats { get; }

Property Value

IChatCollection

DisplayName

Display name of the current user

string DisplayName { get; }

Property Value

string

GivenName

Given name of the current user

string GivenName { get; }

Property Value

string

Id

The Unique ID of the User/Group

Guid Id { get; }

Property Value

Guid

JobTitle

Job title of the current user

string JobTitle { get; }

Property Value

string

Mail

Email address of the current user

string Mail { get; }

Property Value

string

MobilePhone

Mobile phone number of the current user

string MobilePhone { get; }

Property Value

string

OfficeLocation

Office location of the current user

string OfficeLocation { get; }

Property Value

string

PreferredLanguage

Preferred language used by the current user

string PreferredLanguage { get; }

Property Value

string

SurName

Surname of the current user

string SurName { get; }

Property Value

string

UserPrincipalName

UPN of the current user

string UserPrincipalName { get; }

Property Value

string

Methods

SendMail(MailOptions)

Sends an email under the current user context

void SendMail(MailOptions mailOptions)

Parameters

mailOptions MailOptions

SendMailAsync(MailOptions)

Sends an email under the current user context

Task SendMailAsync(MailOptions mailOptions)

Parameters

mailOptions MailOptions

Returns

Task