DisplayPermissionLevel property
FolderPermissionLevel?
get
DisplayPermissionLevel
Implementation
FolderPermissionLevel? get DisplayPermissionLevel {
// If permission level is set to Custom, see if there's a variant
// that Outlook would map to the same permission level.
if (this._permissionLevel == FolderPermissionLevel.Custom) {
for (FolderPermission variant
in FolderPermission._levelVariants.Member!) {
if (this._IsEqualTo(variant)) {
return variant.PermissionLevel;
}
}
}
return this._permissionLevel;
}