54 references to RightsManagementPermissions
PresentationUI (54)
MS\Internal\Documents\RightsManagementLicense.cs (4)
32internal void AddPermission(RightsManagementPermissions permission) 42internal bool HasPermission(RightsManagementPermissions permission) 122internal RightsManagementPermissions LicensePermissions 162private RightsManagementPermissions _userRights;
MS\Internal\Documents\RightsManagementManager.cs (7)
115license.HasPermission(RightsManagementPermissions.AllowView)) 222!license.HasPermission(RightsManagementPermissions.AllowView)) 396if (rmLicense.HasPermission(RightsManagementPermissions.AllowOwner)) 431!(license.HasPermission(RightsManagementPermissions.AllowOwner))) 748GetUseLicense().HasPermission(RightsManagementPermissions.AllowCopy); 761GetUseLicense().HasPermission(RightsManagementPermissions.AllowEdit); 967license.HasPermission(RightsManagementPermissions.AllowView))
MS\Internal\Documents\RightsManagementProvider.cs (20)
348_rmUseLicense, RightsManagementPermissions.AllowOwner)) 497_rmUseLicense.HasPermission(RightsManagementPermissions.AllowOwner) && 605!HasPermission(currentUseLicense, RightsManagementPermissions.AllowEdit)) 645_rmUseLicense, RightsManagementPermissions.AllowOwner)) 809RightsManagementPermissions.AllowOwner)) 1035RightsManagementLicense license, RightsManagementPermissions permission) 1070LicensePermissions = RightsManagementPermissions.AllowNothing, 1106RightsManagementPermissions.AllowView); 1111RightsManagementPermissions.AllowPrint); 1116RightsManagementPermissions.AllowCopy); 1121RightsManagementPermissions.AllowOwner); 1137RightsManagementPermissions.AllowEdit); 1152if (rmLicense.HasPermission(RightsManagementPermissions.AllowEdit) && 1156RightsManagementPermissions.AllowSign); 1181if (HasPermission(rmLicense, RightsManagementPermissions.AllowView)) 1191if (HasPermission(rmLicense, RightsManagementPermissions.AllowPrint)) 1201if (HasPermission(rmLicense, RightsManagementPermissions.AllowCopy)) 1213if (HasPermission(rmLicense, RightsManagementPermissions.AllowEdit)) 1225if (HasPermission(rmLicense, RightsManagementPermissions.AllowSign)) 1249if (HasPermission(rmLicense, RightsManagementPermissions.AllowOwner))
MS\Internal\Documents\RMPermissions.cs (6)
98if (license.HasPermission(RightsManagementPermissions.AllowOwner)) 104if (license.HasPermission(RightsManagementPermissions.AllowView)) 109if (license.HasPermission(RightsManagementPermissions.AllowPrint)) 114if (license.HasPermission(RightsManagementPermissions.AllowCopy)) 119if (license.HasPermission(RightsManagementPermissions.AllowSign)) 124if (license.HasPermission(RightsManagementPermissions.AllowAnnotate))
MS\Internal\Documents\RMPublishingDialog.cs (1)
267if (!rmLicense.HasPermission(RightsManagementPermissions.AllowOwner) &&
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (16)
77public static RightsManagementPermissions GetPermissionsFromRow(DataGridViewRow row) 79RightsManagementPermissions permissions = 80RightsManagementPermissions.AllowNothing; 238license.HasPermission(RightsManagementPermissions.AllowView), 239license.HasPermission(RightsManagementPermissions.AllowCopy), 240license.HasPermission(RightsManagementPermissions.AllowPrint), 241license.HasPermission(RightsManagementPermissions.AllowSign), 242license.HasPermission(RightsManagementPermissions.AllowOwner))); 417private static RightsManagementPermissions GetPermissionFromColumn(RightsTableColumn column) 419RightsManagementPermissions permission = RightsManagementPermissions.AllowNothing; 424permission = RightsManagementPermissions.AllowView; 427permission = RightsManagementPermissions.AllowCopy; 430permission = RightsManagementPermissions.AllowPrint; 433permission = RightsManagementPermissions.AllowSign; 436permission = RightsManagementPermissions.AllowOwner;