←Select platform

IsCurrentUserInRole Method

Summary
Gets a value that indicate whether CurrentUser have enough roles to allow running the specified operation.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual bool IsCurrentUserInRole( 
   AnnOperationInfoEventArgs info 
) 
- (BOOL)isCurrentUserInRole:(LTAnnOperationInfoEventArgs *)info; 
public boolean isCurrentUserInRole(AnnOperationInfoEvent info) 
public:  
   virtual bool IsCurrentUserInRole( 
      AnnOperationInfoEventArgs^ info 
   ) 
def IsCurrentUserInRole(self,info): 

Parameters

info
Operation information including its type and the annotation object involved.

Return Value

true if the user has enough roles to allow the operation, otherwise; false.

Remarks

This method calls IsUserInRole(CurrentUser, info).

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.