FolderPermission Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FolderPermission() |
Initializes a new instance of the FolderPermission class. |
FolderPermission(StandardUser, FolderPermissionLevel) |
Initializes a new instance of the FolderPermission class for the specified standard user with the specified permission level. |
FolderPermission(UserId, FolderPermissionLevel) |
Initializes a new instance of the FolderPermission class for the specified user with the specified permission level. |
FolderPermission(String, FolderPermissionLevel) |
Initializes a new instance of the FolderPermission class for the specified e-mail address with the specified permission level. |
FolderPermission()
Initializes a new instance of the FolderPermission class.
public:
FolderPermission();
public FolderPermission ();
Public Sub New ()
Applies to
FolderPermission(StandardUser, FolderPermissionLevel)
Initializes a new instance of the FolderPermission class for the specified standard user with the specified permission level.
public:
FolderPermission(Microsoft::Exchange::WebServices::Data::StandardUser standardUser, Microsoft::Exchange::WebServices::Data::FolderPermissionLevel permissionLevel);
public FolderPermission (Microsoft.Exchange.WebServices.Data.StandardUser standardUser, Microsoft.Exchange.WebServices.Data.FolderPermissionLevel permissionLevel);
Parameters
- standardUser
- StandardUser
The standard user that the permission applies to.
- permissionLevel
- FolderPermissionLevel
The level of the permission.
Applies to
FolderPermission(UserId, FolderPermissionLevel)
Initializes a new instance of the FolderPermission class for the specified user with the specified permission level.
public:
FolderPermission(Microsoft::Exchange::WebServices::Data::UserId ^ userId, Microsoft::Exchange::WebServices::Data::FolderPermissionLevel permissionLevel);
public FolderPermission (Microsoft.Exchange.WebServices.Data.UserId userId, Microsoft.Exchange.WebServices.Data.FolderPermissionLevel permissionLevel);
Parameters
- userId
- UserId
The ID of the user the permission applies to.
- permissionLevel
- FolderPermissionLevel
The level of the permission.
Applies to
FolderPermission(String, FolderPermissionLevel)
Initializes a new instance of the FolderPermission class for the specified e-mail address with the specified permission level.
public:
FolderPermission(System::String ^ primarySmtpAddress, Microsoft::Exchange::WebServices::Data::FolderPermissionLevel permissionLevel);
public FolderPermission (string primarySmtpAddress, Microsoft.Exchange.WebServices.Data.FolderPermissionLevel permissionLevel);
Public Sub New (primarySmtpAddress As String, permissionLevel As FolderPermissionLevel)
Parameters
- primarySmtpAddress
- String
The primary SMTP address of the user the permission applies to.
- permissionLevel
- FolderPermissionLevel
The level of the permission.