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
StandardUserThe standard user the permission applies to.
permissionLevel
FolderPermissionLevelThe level of the permission.
FolderPermission(UserId, FolderPermissionLevel)
Initializes a new instance of the FolderPermission class.
public FolderPermission(UserId userId, FolderPermissionLevel permissionLevel)
Parameters
userId
UserIdThe Id of the user the permission applies to.
permissionLevel
FolderPermissionLevelThe level of the permission.
FolderPermission(string, FolderPermissionLevel)
Initializes a new instance of the FolderPermission class.
public FolderPermission(string primarySmtpAddress, FolderPermissionLevel permissionLevel)
Parameters
primarySmtpAddress
stringThe primary SMTP address of the user the permission applies to.
permissionLevel
FolderPermissionLevelThe 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
CanCreateSubFolders
Gets or sets a value indicating whether the user can create sub-folders.
public bool CanCreateSubFolders { get; set; }
Property Value
DeleteItems
Gets or sets a value indicating if/how the user can delete existing items.
public PermissionScope DeleteItems { get; set; }
Property Value
DisplayPermissionLevel
Gets the permission level that Outlook would display for this folder permission.
public FolderPermissionLevel DisplayPermissionLevel { get; }
Property Value
EditItems
Gets or sets a value indicating if/how the user can edit existing items.
public PermissionScope EditItems { get; set; }
Property Value
IsFolderContact
Gets or sets a value indicating whether the user is a contact for the folder.
public bool IsFolderContact { get; set; }
Property Value
IsFolderOwner
Gets or sets a value indicating whether the user owns the folder.
public bool IsFolderOwner { get; set; }
Property Value
IsFolderVisible
Gets or sets a value indicating whether the folder is visible to the user.
public bool IsFolderVisible { get; set; }
Property Value
PermissionLevel
Gets or sets the permission level.
public FolderPermissionLevel PermissionLevel { get; set; }
Property Value
ReadItems
Gets or sets the read items access permission.
public FolderPermissionReadAccess ReadItems { get; set; }
Property Value
UserId
Gets the Id of the user the permission applies to.
public UserId UserId { get; set; }