FolderPermission.withUserUd constructor

FolderPermission.withUserUd(
  1. UserId userId,
  2. FolderPermissionLevel permissionLevel
)
Initializes a new instance of the The Id of the user the permission applies to. The level of the permission.

Implementation

FolderPermission.withUserUd(
    property.UserId userId, FolderPermissionLevel permissionLevel) {
  EwsUtilities.ValidateParam(property.UserId, "property.UserId");

  this.UserId = userId;
  this.PermissionLevel = permissionLevel;
}