←Select platform

GetUserGroup Method

Summary

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

Syntax

C#
VB
Java
WinRT C#
C++
public virtual List<string> GetUserGroup( 
   string userName 
) 
Public Overridable Function GetUserGroup( _ 
   ByVal userName As String _ 
) As List(Of String) 
public virtual List<string> GetUserGroup(  
   string userName 
) 
public List<String> getUserGroup(String userName) 
 function Leadtools.Annotations.Core.AnnGroupsRoles.GetUserGroup(  
   userName  
) 
public:  
   virtual List<String^>^ GetUserGroup( 
      String^ userName 
   ) 

Parameters

userName
The name of the user to check.

Return Value

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly