←Select platform

IsCurrentUserInRole Method

Summary

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

Syntax

C#
VB
Java
WinRT C#
public virtual bool IsCurrentUserInRole(  
   Leadtools.Annotations.Core.AnnOperationInfoEventArgs info 
) 
Public Overridable Function IsCurrentUserInRole( _ 
   ByVal info As Leadtools.Annotations.Core.AnnOperationInfoEventArgs _ 
) As Boolean 
public virtual bool IsCurrentUserInRole(  
   Leadtools.Annotations.Core.AnnOperationInfoEventArgs info 
) 
public boolean isCurrentUserInRole(AnnOperationInfoEvent info)
function Leadtools.Annotations.Core.AnnGroupsRoles.IsCurrentUserInRole(  
   info  
) 

Parameters

info
Operation information including its type and the any 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize