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)
Usage
Dim permission1 As Permission
Dim returnValue As Boolean
returnValue = permission1.StoreLicenses
Dim sampleValue As Boolean
permission1.StoreLicenses = sampleValue
Syntax
Property StoreLicenses() As Boolean
bool StoreLicenses {get; set;}
property Boolean StoreLicenses{
Boolean get();
Void set(Boolean);
}
public boolean get_StoreLicenses();
public void set_StoreLicenses(boolean);
function get StoreLicenses() : Boolean;
function set StoreLicenses(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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Permission Interface
Microsoft.Office.Core Namespace