22 references to HasPermission
PresentationUI (22)
MS\Internal\Documents\RightsManagementManager.cs (7)
115
license.
HasPermission
(RightsManagementPermissions.AllowView))
222
!license.
HasPermission
(RightsManagementPermissions.AllowView))
396
if (rmLicense.
HasPermission
(RightsManagementPermissions.AllowOwner))
431
!(license.
HasPermission
(RightsManagementPermissions.AllowOwner)))
748
GetUseLicense().
HasPermission
(RightsManagementPermissions.AllowCopy);
761
GetUseLicense().
HasPermission
(RightsManagementPermissions.AllowEdit);
967
license.
HasPermission
(RightsManagementPermissions.AllowView))
MS\Internal\Documents\RightsManagementProvider.cs (3)
497
_rmUseLicense.
HasPermission
(RightsManagementPermissions.AllowOwner) &&
1037
return license.
HasPermission
(permission);
1152
if (rmLicense.
HasPermission
(RightsManagementPermissions.AllowEdit) &&
MS\Internal\Documents\RMPermissions.cs (6)
98
if (license.
HasPermission
(RightsManagementPermissions.AllowOwner))
104
if (license.
HasPermission
(RightsManagementPermissions.AllowView))
109
if (license.
HasPermission
(RightsManagementPermissions.AllowPrint))
114
if (license.
HasPermission
(RightsManagementPermissions.AllowCopy))
119
if (license.
HasPermission
(RightsManagementPermissions.AllowSign))
124
if (license.
HasPermission
(RightsManagementPermissions.AllowAnnotate))
MS\Internal\Documents\RMPublishingDialog.cs (1)
267
if (!rmLicense.
HasPermission
(RightsManagementPermissions.AllowOwner) &&
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (5)
238
license.
HasPermission
(RightsManagementPermissions.AllowView),
239
license.
HasPermission
(RightsManagementPermissions.AllowCopy),
240
license.
HasPermission
(RightsManagementPermissions.AllowPrint),
241
license.
HasPermission
(RightsManagementPermissions.AllowSign),
242
license.
HasPermission
(RightsManagementPermissions.AllowOwner)));