22 references to HasPermission
PresentationUI (22)
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 (3)
497_rmUseLicense.HasPermission(RightsManagementPermissions.AllowOwner) && 1037return license.HasPermission(permission); 1152if (rmLicense.HasPermission(RightsManagementPermissions.AllowEdit) &&
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 (5)
238license.HasPermission(RightsManagementPermissions.AllowView), 239license.HasPermission(RightsManagementPermissions.AllowCopy), 240license.HasPermission(RightsManagementPermissions.AllowPrint), 241license.HasPermission(RightsManagementPermissions.AllowSign), 242license.HasPermission(RightsManagementPermissions.AllowOwner)));