Table of Contents

Namespace PnP.Core.Model.Security

Classes

AnonymousLinkOptions

Properties that can be set when creating a new Anonymous Link

InviteOptions

Options that can be set when inviting users to an item

InviteOptionsBase

Base class for InviteOptions classes

MailOptions

Options containing the message and whether to save the mail to the sent items of the user or not.

MessageAttachmentOptions

Options for attachments for a message

MessageOptions

The options for a message

OrganizationalLinkOptions

Properties that can be set when creating a new Organizational Link

RecipientOptions

Options for a recipient

UserLinkOptions

Properties that can be set when creating a new User Link

Interfaces

IDriveRecipient

Represents a person, group, or other recipient to share a drive item with using the invite action.

IGraphGroup

A Microsoft 365 Group

IGraphGroupCollection

Public interface to define a collection of Microsoft 365 Groups

IGraphPermission

The permission resource provides information about a sharing permission granted for a driveItem resource. Sharing permissions have a number of different forms. The permission resource represents these different forms through facets on the resource. Note: OneDrive for Business and SharePoint document libraries do not return the inheritedFrom property. grantedTo and grantedToIdentities will be deprecated going forward and the response will be migrated to grantedToV2 and grantedToIdentitiesV2 respectively under appropriate property names.

IGraphPermissionCollection

Collection of the sharing permissions granted on a driveItem resource

IGraphPrincipal

Represents a Microsoft 365 user or group

IGraphUser

Public interface to define a Microsoft 365 user

IGraphUserCollection

Public interface to define a collection of Microsoft 365 users

IIdentity

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

IIdentitySet

The identitySet resource is a keyed collection of identity resources.

IRoleAssignment

Defines a single role definition, including a name, description, and set of rights.

IRoleAssignmentCollection

Public interface to define a collection of SharePoint groups

IRoleDefinition

Defines a single role definition, including a name, description, and set of rights.

IRoleDefinitionCollection

Public interface to define a collection of SharePoint RoleDefinitions

ISharePointGroup

Public interface to define a SharePoint Group

ISharePointGroupCollection

Public interface to define a collection of SharePoint groups

ISharePointIdentity

This resource extends from the identity resource to provide the ability to expose SharePoint-specific information; for example, loginName or SharePoint IDs.

ISharePointIdentitySet

Represents a keyed collection of sharePointIdentity resources. This resource extends from the identitySet resource to provide the ability to expose SharePoint-specific information to the user.

ISharePointPrincipal

Represents a SharePoint user or group that can be assigned permissions to control security.

ISharePointSharingPrincipal

Represents a SharePoint sharing principal.

ISharePointUser

Public interface to define a SharePoint User

ISharePointUserCollection

Public interface to define a collection of SharePoint users

ISharingInvitation

The SharingInvitation resource groups invitation-related data items into a single structure.

ISharingLink

The sharingLink resource groups link-related data items into a single structure.

Enums

GroupVisibility

Group visibility

MessageBodyContentType

Content type for the message body

MessageImportance

Importance of the mail message

PermissionRole
PrincipalType

Specifies the type of a principal. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

ShareScope

The scope of a link

ShareType

Link types