Table of Contents

Interface IIdentity

Namespace
PnP.Core.Model.Security
Assembly
PnP.Core.dll

The Identity resource represents an identity of an actor. For example, an actor can be a user, device, or application.

public interface IIdentity : IDataModel<IIdentity>, IDataModelParent, IDataModelWithContext, ISupportModules<IIdentity>
Inherited Members
Extension Methods

Properties

DisplayName

The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.

string DisplayName { get; set; }

Property Value

string

Id

Unique identifier for the identity.

string Id { get; }

Property Value

string

TenantId

Unique identity of the tenant (optional).

string TenantId { get; set; }

Property Value

string

UserIdentityType

In case the identity is a user this property contains the user type of the user

TeamUserIdentityType UserIdentityType { get; set; }

Property Value

TeamUserIdentityType