getUserRoles Method

Summary

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

Syntax
TypeScript
JavaScript
AnnGroupsRoles.prototype.getUserRoles = function( 
   userName 
) 
getUserRoles( 
   userName: string 
): AnnRoles; 

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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.