isCurrentUserInRole Method

Summary

Gets a value that indicate whether CurrentUser have enough roles to allow running the specified operation.

Syntax
TypeScript
JavaScript
AnnGroupsRoles.prototype.isCurrentUserInRole = function( 
   info 
) 
isCurrentUserInRole( 
   info: AnnOperationInfoEventArgs 
): boolean; 

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 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.