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,
) {
  UserId = property.UserId.withStandardUser(standardUser);
  PermissionLevel = permissionLevel;
}