54 references to RightsManagementPermissions
PresentationUI (54)
MS\Internal\Documents\RightsManagementLicense.cs (4)
32
internal void AddPermission(
RightsManagementPermissions
permission)
42
internal bool HasPermission(
RightsManagementPermissions
permission)
122
internal
RightsManagementPermissions
LicensePermissions
162
private
RightsManagementPermissions
_userRights;
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 (20)
348
_rmUseLicense,
RightsManagementPermissions
.AllowOwner))
497
_rmUseLicense.HasPermission(
RightsManagementPermissions
.AllowOwner) &&
605
!HasPermission(currentUseLicense,
RightsManagementPermissions
.AllowEdit))
645
_rmUseLicense,
RightsManagementPermissions
.AllowOwner))
809
RightsManagementPermissions
.AllowOwner))
1035
RightsManagementLicense license,
RightsManagementPermissions
permission)
1070
LicensePermissions =
RightsManagementPermissions
.AllowNothing,
1106
RightsManagementPermissions
.AllowView);
1111
RightsManagementPermissions
.AllowPrint);
1116
RightsManagementPermissions
.AllowCopy);
1121
RightsManagementPermissions
.AllowOwner);
1137
RightsManagementPermissions
.AllowEdit);
1152
if (rmLicense.HasPermission(
RightsManagementPermissions
.AllowEdit) &&
1156
RightsManagementPermissions
.AllowSign);
1181
if (HasPermission(rmLicense,
RightsManagementPermissions
.AllowView))
1191
if (HasPermission(rmLicense,
RightsManagementPermissions
.AllowPrint))
1201
if (HasPermission(rmLicense,
RightsManagementPermissions
.AllowCopy))
1213
if (HasPermission(rmLicense,
RightsManagementPermissions
.AllowEdit))
1225
if (HasPermission(rmLicense,
RightsManagementPermissions
.AllowSign))
1249
if (HasPermission(rmLicense,
RightsManagementPermissions
.AllowOwner))
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 (16)
77
public static
RightsManagementPermissions
GetPermissionsFromRow(DataGridViewRow row)
79
RightsManagementPermissions
permissions =
80
RightsManagementPermissions
.AllowNothing;
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)));
417
private static
RightsManagementPermissions
GetPermissionFromColumn(RightsTableColumn column)
419
RightsManagementPermissions
permission =
RightsManagementPermissions
.AllowNothing;
424
permission =
RightsManagementPermissions
.AllowView;
427
permission =
RightsManagementPermissions
.AllowCopy;
430
permission =
RightsManagementPermissions
.AllowPrint;
433
permission =
RightsManagementPermissions
.AllowSign;
436
permission =
RightsManagementPermissions
.AllowOwner;