Edytuj

Udostępnij za pośrednictwem


Permission.StoreLicenses Property

Definition

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.

public:
 property bool StoreLicenses { bool get(); void set(bool value); };
public bool StoreLicenses { get; set; }
member this.StoreLicenses : bool with get, set
Public Property StoreLicenses As Boolean

Property Value

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.

Applies to