←Select platform

CurrentUser Property

Summary
Gets or sets the name of the current logged in user.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public string CurrentUser { get; set; } 
@property (nonatomic, copy, nullable) NSString *currentUser; 
public String getCurrentUser() 
public void setCurrentUser(String currentUser) 
public:  
   property String^ CurrentUser 
   { 
      String^ get() 
      void set(String^ value) 
   } 
CurrentUser # get and set (AnnGroupsRoles) 

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

Leadtools.Annotations.Engine Assembly

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