←Select platform

GetUserRoles Method

Summary
Gets a list of all the roles the specified user belong to.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual AnnRoles GetUserRoles( 
   string userName 
) 
- (nullable LTAnnRoles *)getUserRoles:(NSString *)userName; 
public AnnRoles getUserRoles(String userName) 
public:  
   virtual AnnRoles^ GetUserRoles( 
      String^ userName 
   ) 
def GetUserRoles(self,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 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.