←Select platform

UserToken Property

Summary

User token associated with the document.

Syntax
C#
C++/CLI
Python
public string UserToken { get; set; } 
public:  
   property String^ UserToken 
   { 
      String^ get() 
      void set(String^ value) 
   } 
UserToken # get and set (DocumentConverterJobData) 

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Converter Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.