←Select platform

CurrentUser Property

Summary

Gets or sets the name of the current logged in user.

Syntax
C#
VB
C++
Java
public string CurrentUser { get; set; } 
Public Property CurrentUser As String 
public String getCurrentUser() 
public void setCurrentUser(String currentUser) 
public:  
   property String^ CurrentUser 
   { 
      String^ get() 
      void set(String^ value) 
   } 

Property Value

The name of the current logged in user. Default value is null.

Remarks

If this AnnGroupsRoles is set in an AnnContainer, then any AnnObject added to the container will have its AnnObject.UserId checked and updated to the value of CurrentUser if it did not contain a previous value.

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.Annotations.Engine Assembly