51 references to _rmProvider
PresentationUI (51)
MS\Internal\Documents\RightsManagementManager.cs (51)
102
if (
_rmProvider
.IsProtected)
124
returnPackage =
_rmProvider
.DecryptPackage();
150
if (
_rmProvider
.IsProtected)
200
_rmProvider
.SetEncryptedPackage(
217
if (
_rmProvider
.IsProtected)
260
RightsManagementUser previousDefaultUser =
_rmProvider
.GetDefaultCredentials();
270
RightsManagementUser newDefaultUser =
_rmProvider
.GetDefaultCredentials();
279
if (!decrypting &&
_rmProvider
.IsProtected &&
291
_rmProvider
.InitializeEnvironment(newDefaultUser);
315
if (
_rmProvider
.CurrentUser != null ||
_rmProvider
.GetDefaultCredentials() != null)
373
rtn = (
_rmProvider
.CurrentUser != null);
427
if (
_rmProvider
.IsProtected)
439
if (
_rmProvider
.IsProtected)
441
allRights =
_rmProvider
.GetAllAccessRights();
452
new RMPublishingDialog(
_rmProvider
.CurrentUser, allRights);
474
_rmProvider
.SaveCurrentLicenses();
535
_rmProvider
.RevertToSavedLicenses();
572
_rmProvider
.SetDefaultCredentials(user);
585
if (user != null && !user.Equals(
_rmProvider
.CurrentUser))
589
_rmProvider
.RemoveCredentials(user);
670
foreach (RightsManagementUser user in
_rmProvider
.GetAvailableCredentials())
693
RightsManagementUser user =
_rmProvider
.GetDefaultCredentials();
731
if (
_rmProvider
.CurrentPublishLicense != value)
733
_rmProvider
.CurrentPublishLicense = value;
747
!
_rmProvider
.IsProtected ||
760
!
_rmProvider
.IsProtected ||
897
if (
_rmProvider
.CurrentUser != null)
903
RightsManagementUser user =
_rmProvider
.GetDefaultCredentials();
918
user =
_rmProvider
.CurrentUser;
924
_rmProvider
.SetDefaultCredentials(user);
937
_rmProvider
.InitializeEnvironment(user);
961
if (initialized &&
_rmProvider
.IsProtected)
1014
user =
_rmProvider
.GetDefaultCredentials();
1021
initialized = (user.Equals(
_rmProvider
.CurrentUser));
1035
if (
_rmProvider
.IsProtected &&
1036
_rmProvider
.CurrentUseLicense == null)
1039
_rmProvider
.CurrentUser != null,
1044
if (
_rmProvider
.LoadUseLicense())
1046
_rmProvider
.BindUseLicense();
1048
else if (
_rmProvider
.AcquireUseLicense())
1052
_rmProvider
.BindUseLicense();
1073
return
_rmProvider
.CurrentUseLicense;
1093
return
_rmProvider
.IsProtected;
1097
if (!
_rmProvider
.IsProtected)
1104
_rmProvider
.GetAllAccessRights();
1163
_rmProvider
.InitializeEnvironment(rmEnrollThreadInfo.AccountType);
1318
_rmProvider
.GenerateUnsignedPublishLicense(licenses);
1319
_rmProvider
.SignPublishLicense();
1396
_rmProvider
.GenerateUnsignedPublishLicense(template);
1397
_rmProvider
.SignPublishLicense();