Interface IGraphUser
Public interface to define a Microsoft 365 user
Inherited Members
Namespace: PnP.Core.Model.Security
Assembly: PnP.Core.dll
Syntax
public interface IGraphUser : IDataModel<IGraphUser>, IDataModelParent, IDataModelWithContext, ISupportModules<IGraphUser>, IDataModelGet<IGraphUser>, IDataModelLoad<IGraphUser>, IGraphPrincipal, IQueryableDataModel
Properties
Email adress of the user
Declaration
string Mail { get; set; }
Property Value
System.String
|
OfficeLocation
Office location of the user
Declaration
string OfficeLocation { get; set; }
Property Value
System.String
|
UserPrincipalName
User principle name (UPN) of the user
Declaration
string UserPrincipalName { get; set; }
Property Value
System.String
|
Methods
AsSharePointUser()
AsSharePointUserAsync()
SendMail(MailOptions)
Sends an email under a specific user context
Declaration
void SendMail(MailOptions mailOptions)
Parameters
MailOptions
mailOptions
|
SendMailAsync(MailOptions)
Sends an email under a specific user context
Declaration
Task SendMailAsync(MailOptions mailOptions)
Parameters
MailOptions
mailOptions
|
Returns
Task
|