←Select platform

CurrentUser Property

Summary

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

Syntax

C#
VB
Java
WinRT C#
C++
public string CurrentUser { get; set; } 
Public Property CurrentUser As String 
public string CurrentUser {get; set;} 
public String getCurrentUser() 
public void setCurrentUser(String currentUser) 
             
  
get_CurrentUser(); 
set_CurrentUser(value); 
Object.defineProperty('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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly