←Select platform

GetUserRoles Method

Summary

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

Syntax
C#
VB
C++
Java
public virtual AnnRoles GetUserRoles( 
   string userName 
) 
Public Overridable Function GetUserRoles( _ 
   ByVal userName As String _ 
) As AnnRoles 
public AnnRoles getUserRoles(String userName) 
public:  
   virtual AnnRoles^ GetUserRoles( 
      String^ 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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly