Table of Contents

Class FolderPermission

Namespace
Microsoft.Exchange.WebServices.Data
Assembly
Microsoft.Exchange.WebServices.dll

Represents a permission on a folder.

public sealed class FolderPermission : ComplexProperty
Inheritance
FolderPermission
Inherited Members

Constructors

FolderPermission()

Initializes a new instance of the FolderPermission class.

public FolderPermission()

FolderPermission(StandardUser, FolderPermissionLevel)

Initializes a new instance of the FolderPermission class.

public FolderPermission(StandardUser standardUser, FolderPermissionLevel permissionLevel)

Parameters

standardUser StandardUser

The standard user the permission applies to.

permissionLevel FolderPermissionLevel

The level of the permission.

FolderPermission(UserId, FolderPermissionLevel)

Initializes a new instance of the FolderPermission class.

public FolderPermission(UserId userId, FolderPermissionLevel permissionLevel)

Parameters

userId UserId

The Id of the user the permission applies to.

permissionLevel FolderPermissionLevel

The level of the permission.

FolderPermission(string, FolderPermissionLevel)

Initializes a new instance of the FolderPermission class.

public FolderPermission(string primarySmtpAddress, FolderPermissionLevel permissionLevel)

Parameters

primarySmtpAddress string

The primary SMTP address of the user the permission applies to.

permissionLevel FolderPermissionLevel

The level of the permission.

Properties

CanCreateItems

Gets or sets a value indicating whether the user can create new items.

public bool CanCreateItems { get; set; }

Property Value

bool

CanCreateSubFolders

Gets or sets a value indicating whether the user can create sub-folders.

public bool CanCreateSubFolders { get; set; }

Property Value

bool

DeleteItems

Gets or sets a value indicating if/how the user can delete existing items.

public PermissionScope DeleteItems { get; set; }

Property Value

PermissionScope

DisplayPermissionLevel

Gets the permission level that Outlook would display for this folder permission.

public FolderPermissionLevel DisplayPermissionLevel { get; }

Property Value

FolderPermissionLevel

EditItems

Gets or sets a value indicating if/how the user can edit existing items.

public PermissionScope EditItems { get; set; }

Property Value

PermissionScope

IsFolderContact

Gets or sets a value indicating whether the user is a contact for the folder.

public bool IsFolderContact { get; set; }

Property Value

bool

IsFolderOwner

Gets or sets a value indicating whether the user owns the folder.

public bool IsFolderOwner { get; set; }

Property Value

bool

IsFolderVisible

Gets or sets a value indicating whether the folder is visible to the user.

public bool IsFolderVisible { get; set; }

Property Value

bool

PermissionLevel

Gets or sets the permission level.

public FolderPermissionLevel PermissionLevel { get; set; }

Property Value

FolderPermissionLevel

ReadItems

Gets or sets the read items access permission.

public FolderPermissionReadAccess ReadItems { get; set; }

Property Value

FolderPermissionReadAccess

UserId

Gets the Id of the user the permission applies to.

public UserId UserId { get; set; }

Property Value

UserId