←Select platform

UserToken Property

Summary

User token associated with the document.

Syntax
C#
VB
C++
public string UserToken { get; set; } 
Public Property UserToken() As String 
   Get 
   Set 
public:  
   property String^ UserToken 
   { 
      String^ get() 
      void set(String^ value) 
   } 

Property Value

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

Remarks

User tokens can optionally be used with a document to restrict usage. Refer to Loading Using LEADTOOLS Document Library for more information.

This value is used if DocumentId is not null and it references a document in the cache that was stored with a user token. Eventually, the converter will call DocumentFactory.LoadFromCache to load the document. If a value is passed into UserToken, it will be set in the LoadFromCacheOptions.UserToken instance passed to that method.

Requirements

Target Platforms

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

Leadtools.Document.Converter Assembly