Table of Contents

Class FolderPermissionCollection

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

Represents a collection of folder permissions.

public sealed class FolderPermissionCollection : ComplexPropertyCollection<FolderPermission>, IEnumerable<FolderPermission>, IEnumerable
Inheritance
FolderPermissionCollection
Implements
Inherited Members

Properties

UnknownEntries

Gets a list of unknown user Ids in the collection.

public Collection<string> UnknownEntries { get; }

Property Value

Collection<string>

Methods

Add(FolderPermission)

Adds a permission to the collection.

public void Add(FolderPermission permission)

Parameters

permission FolderPermission

The permission to add.

AddRange(IEnumerable<FolderPermission>)

Adds the specified permissions to the collection.

public void AddRange(IEnumerable<FolderPermission> permissions)

Parameters

permissions IEnumerable<FolderPermission>

The permissions to add.

Clear()

Clears this collection.

public void Clear()

Remove(FolderPermission)

Removes a permission from the collection.

public bool Remove(FolderPermission permission)

Parameters

permission FolderPermission

The permission to remove.

Returns

bool

True if the folder permission was successfully removed from the collection, false otherwise.

RemoveAt(int)

Removes a permission from the collection.

public void RemoveAt(int index)

Parameters

index int

The zero-based index of the permission to remove.