PermissionLevel property
FolderPermissionLevel?
get
PermissionLevel
Implementation
FolderPermissionLevel? get PermissionLevel => this._permissionLevel;
set
PermissionLevel
(FolderPermissionLevel? value)
Implementation
set PermissionLevel(FolderPermissionLevel? value) {
if (this._permissionLevel != value) {
if (value == FolderPermissionLevel.Custom) {
throw new ServiceLocalException(
"Strings.CannotSetPermissionLevelToCustom");
}
this._AssignIndividualPermissions(_defaultPermissions.Member![value!]!);
if (this.CanSetFieldValue(this._permissionLevel, value)) {
this._permissionLevel = value;
this.Changed();
}
}
}