FolderPermission.withSmtpAddress constructor

FolderPermission.withSmtpAddress(
  1. String? primarySmtpAddress,
  2. FolderPermissionLevel permissionLevel
)
Initializes a new instance of the The primary SMTP address of the user the permission applies to. The level of the permission.

Implementation

FolderPermission.withSmtpAddress(
    String? primarySmtpAddress, FolderPermissionLevel permissionLevel) {
  this.UserId = new property.UserId.withSmtpAddress(primarySmtpAddress);
  this.PermissionLevel = permissionLevel;
}