ContentGrant Class
Represents a right granted to a user to access information in a rights managed document.
Assembly: WindowsBase (in WindowsBase.dll)
| Name | Description | |
|---|---|---|
![]() | ContentGrant(ContentUser^, ContentRight) | Initializes a new instance of the ContentGrant class that grants a specified ContentUser a specified ContentRight. |
![]() | ContentGrant(ContentUser^, ContentRight, DateTime, DateTime) | Initializes a new instance of the ContentGrant class that grants a specified ContentUser a specified ContentRight for a specified DateTime duration. |
| Name | Description | |
|---|---|---|
![]() | Right | Gets the ContentRight that is granted. |
![]() | User | Gets the user who is granted the access Right. |
![]() | ValidFrom | Gets the starting date and time that the granted Right begins. |
![]() | ValidUntil | Gets the ending date and time that the granted Right expires. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
As with other System.Security.RightsManagement types, ContentGrant is only usable in full trust applications.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


