←Select platform

GetUserRoles Method

Summary

Gets a list of all the roles the specified user belong to.

Syntax

C#
VB
Java
WinRT C#
public virtual Leadtools.Annotations.Core.AnnRoles GetUserRoles(  
   string userName 
) 
Public Overridable Function GetUserRoles( _ 
   ByVal userName As String _ 
) As Leadtools.Annotations.Core.AnnRoles 
public virtual Leadtools.Annotations.Core.AnnRoles GetUserRoles(  
   string userName 
) 
public AnnRoles getUserRoles(String userName)
function Leadtools.Annotations.Core.AnnGroupsRoles.GetUserRoles(  
   userName  
) 

Parameters

userName
The name of the user to check.

Return Value

A list of roles this user belong to. Or an empty list if the user is not found in the system.

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