Permission.StoreLicenses Property
Returns a Boolean value that indicates whether the user's license to view the active document should be cached to allow offline viewing when the user cannot connect to a rights management server.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property StoreLicenses As Boolean
Get
Set
'Usage
Dim instance As Permission
Dim value As Boolean
value = instance.StoreLicenses
instance.StoreLicenses = value
bool StoreLicenses { get; set; }
Property Value
Type: System.Boolean
Remarks
The default return value is True.
The StoreLicenses property corresponds to (and its value is the opposite of) the Require a connection to verify a user's permission option in the permissions user interface. When StoreLicenses is False, users other than the document owner must connect to the rights management server and acquire the license to work with the document each time they open it.
When content is protected using the Microsoft Office 2003 Information Rights Management service, the StoreLicenses property is always True and cannot be set to False.