10 instantiations of ContentUser
WindowsBase (10)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (2)
776
user = new
ContentUser
(userName, authenticationType);
1262
return new
ContentUser
(userName, authenticationType);
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (3)
180
return new ClientSession(new
ContentUser
(_defaultUserName, authentication));
1364
return new
ContentUser
(name, AuthenticationType.Windows);
1368
return new
ContentUser
(name, AuthenticationType.Passport);
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (3)
619
return new
ContentUser
(userNameStr, AuthenticationType.Windows);
623
return new
ContentUser
(userNameStr, AuthenticationType.Passport);
639
return new
ContentUser
(userNameStr, AuthenticationType.WindowsPassport);
Base\System\Security\RightsManagement\User.cs (2)
176
_anyoneUser = new
ContentUser
(AnyoneUserName, AuthenticationType.Internal);
196
_ownerUser = new
ContentUser
(OwnerUserName, AuthenticationType.Internal);
88 references to ContentUser
WindowsBase (88)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (17)
313
ContentUser
user
354
ContentUser
user,
407
ContentUser
user
431
internal IDictionary<
ContentUser
, UseLicense>
435
return new ReadOnlyDictionary<
ContentUser
, UseLicense>(loader.LoadedDictionary);
729
out
ContentUser
user
820
ContentUser
userDesired = lulfup.User;
823
ContentUser
userFromStream = null;
870
ContentUser
userToDelete = param as
ContentUser
;
876
ContentUser
userFromStream = null;
907
ContentUser
user,
992
ContentUser
user
1002
internal
ContentUser
User
1016
private
ContentUser
_user;
1101
ContentUser
user
1233
private
ContentUser
Base\MS\Internal\IO\Packaging\CompoundFile\UserUseLicenseDictionaryLoader.cs (5)
47
_dict = new Dictionary<
ContentUser
, UseLicense>(
ContentUser
._contentUserComparer);
68
internal Dictionary<
ContentUser
, UseLicense> LoadedDictionary
131
ContentUser
user;
156
private Dictionary<
ContentUser
, UseLicense> _dict;
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (10)
48
internal ClientSession(
ContentUser
user)
55
ContentUser
user,
222
ContentUser
userFromCert = ExtractUserFromCertificateChain(userCertificateChain);
235
internal
ContentUser
ActivateUser(
343
ContentUser
user,
378
ContentUser
currentUser = ExtractUserFromCertificateChain(currentUserCertificate);
760
ContentUser
user = ExtractUserFromCertificateChain(boundLicenseParams.wszDefaultEnablingPrincipalCredentials);
1282
internal static
ContentUser
ExtractUserFromCertificateChain(string certificateChain)
1322
internal static
ContentUser
2019
private
ContentUser
_user = null;
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (15)
47
ContentUser
owner,
81
ContentUser
owner,
257
ContentUser
owner;
294
ContentUser
user = GetIssuanceLicenseUser(userIndex, out userHandle);
492
private SafeRightsManagementPubHandle GetHandleFromUser(
ContentUser
user)
498
if (user.GenericEquals(
ContentUser
.AnyoneUser) || user.GenericEquals(
ContentUser
.OwnerUser))
555
static private
ContentUser
GetUserFromHandle(SafeRightsManagementPubHandle userHandle)
628
if (
ContentUser
.CompareToAnyone(userIdStr))
630
return
ContentUser
.AnyoneUser;
632
else if (
ContentUser
.CompareToOwner(userIdStr))
634
return
ContentUser
.OwnerUser;
645
private
ContentUser
GetIssuanceLicenseUser(int index, out SafeRightsManagementPubHandle userHandle)
829
out
ContentUser
owner,
1054
private string ConvertAuthenticationTypeToString(
ContentUser
user)
Base\System\IO\Packaging\RightsManagementInformation.cs (4)
118
public UseLicense LoadUseLicense(
ContentUser
userKey)
144
public void SaveUseLicense(
ContentUser
userKey, UseLicense useLicense)
163
public void DeleteUseLicense(
ContentUser
userKey)
178
public IDictionary<
ContentUser
, UseLicense> GetEmbeddedUseLicenses()
Base\System\Security\RightsManagement\CryptoProvider.cs (2)
370
ContentUser
owner)
576
private
ContentUser
_owner;
Base\System\Security\RightsManagement\Grant.cs (4)
46
public ContentGrant(
ContentUser
user, ContentRight right)
55
public ContentGrant(
ContentUser
user, ContentRight right, DateTime validFrom, DateTime validUntil)
99
public
ContentUser
User
146
private
ContentUser
_user;
Base\System\Security\RightsManagement\SecureEnvironment.cs (13)
58
ContentUser
user)
94
public static bool IsUserActivated(
ContentUser
user)
120
public static void RemoveActivatedUser(
ContentUser
user)
164
static public ReadOnlyCollection<
ContentUser
> GetActivatedUsers()
176
List<
ContentUser
> userList = new List<
ContentUser
>();
191
ContentUser
user = ClientSession.ExtractUserFromCertificateChain(userCertificate);
206
return new ReadOnlyCollection<
ContentUser
>(userList);
224
public
ContentUser
User
282
private static SecureEnvironment CriticalCreate(string applicationManifest,
ContentUser
user)
345
ContentUser
user;
395
ContentUser
user,
416
private
ContentUser
_user;
Base\System\Security\RightsManagement\UnsignedPublishLicense.cs (3)
112
ContentUser
contentOwner;
151
public
ContentUser
Owner
381
private
ContentUser
_owner;
Base\System\Security\RightsManagement\UseLicense.cs (2)
97
public
ContentUser
Owner
200
private
ContentUser
_owner = null;
Base\System\Security\RightsManagement\User.cs (13)
155
ContentUser
userObj = (
ContentUser
)obj;
168
public static
ContentUser
AnyoneUser
188
public static
ContentUser
OwnerUser
253
internal bool GenericEquals(
ContentUser
userObj)
280
internal sealed class ContentUserComparer : IEqualityComparer<
ContentUser
>
282
bool IEqualityComparer<
ContentUser
>.Equals(
ContentUser
user1,
ContentUser
user2)
288
int IEqualityComparer<
ContentUser
>.GetHashCode(
ContentUser
user)
320
private static
ContentUser
_ownerUser;
323
private static
ContentUser
_anyoneUser;