FolderPermission.withStandardUser constructor

FolderPermission.withStandardUser(
  1. StandardUser standardUser,
  2. FolderPermissionLevel permissionLevel
)
Initializes a new instance of the The standard user the permission applies to. The level of the permission.

Implementation

FolderPermission.withStandardUser(
    StandardUser standardUser, FolderPermissionLevel permissionLevel) {
  this.UserId = new property.UserId.withStandardUser(standardUser);
  this.PermissionLevel = permissionLevel;
}