40 references to ContentRight
WindowsBase (40)
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (16)
1960
internal static Nullable<
ContentRight
> GetRightFromString(string rightName)
1976
internal static string GetStringFromRight(
ContentRight
right)
2035
static private
ContentRight
[] _rightEnums = {
2036
ContentRight
.View,
2037
ContentRight
.Edit,
2038
ContentRight
.Print,
2039
ContentRight
.Extract,
2040
ContentRight
.ObjectModel,
2041
ContentRight
.Owner,
2042
ContentRight
.ViewRightsData,
2043
ContentRight
.Forward,
2044
ContentRight
.Reply,
2045
ContentRight
.ReplyAll,
2046
ContentRight
.Sign,
2047
ContentRight
.DocumentEdit,
2048
ContentRight
.Export};
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (3)
309
Nullable<
ContentRight
> right = GetIssuanceLicenseUserRight
524
static private Nullable<
ContentRight
> GetRightFromHandle(SafeRightsManagementPubHandle rightHandle,
790
private Nullable<
ContentRight
> GetIssuanceLicenseUserRight
Base\System\Security\RightsManagement\CryptoProvider.cs (4)
313
Nullable<
ContentRight
> contentRight = ClientSession.GetRightFromString(rightsInfo.RightName);
535
Nullable<
ContentRight
> right =
540
((right.Value ==
ContentRight
.Owner) ||(right.Value==
ContentRight
.ViewRightsData)))
Base\System\Security\RightsManagement\Grant.cs (17)
46
public ContentGrant(ContentUser user,
ContentRight
right)
55
public ContentGrant(ContentUser user,
ContentRight
right, DateTime validFrom, DateTime validUntil)
65
if ((right !=
ContentRight
.View) &&
66
(right !=
ContentRight
.Edit) &&
67
(right !=
ContentRight
.Print) &&
68
(right !=
ContentRight
.Extract) &&
69
(right !=
ContentRight
.ObjectModel) &&
70
(right !=
ContentRight
.Owner) &&
71
(right !=
ContentRight
.ViewRightsData) &&
72
(right !=
ContentRight
.Forward) &&
73
(right !=
ContentRight
.Reply) &&
74
(right !=
ContentRight
.ReplyAll) &&
75
(right !=
ContentRight
.Sign) &&
76
(right !=
ContentRight
.DocumentEdit) &&
77
(right !=
ContentRight
.Export))
111
public
ContentRight
Right
147
private
ContentRight
_right;