userToken Property

Summary

The user document associated with this document.

Syntax
TypeScript
JavaScript
Object.defineProperty(CacheInfo.prototype, 'userToken', 
   get: function(), 
   set: function(value) 
) 
userToken: string; 

Property Value

The user token associated with this document. The default value is null.

Remarks

Note that the current behavior of the toolkit is to clear this value for security reasons when DocumentFactory.checkCacheInfo is called and is null regardless of the value in the cache.

hasUserToken can be used to determine if the document was created with a user token.

Refer to Loading Documents Using LEADTOOLS Document Library for more information.

Example

For an example, refer to CacheInfo.hasUserToken.

Requirements

Target Platforms

Help Version 20.0.2019.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly