←Select platform

IsUserInRole Method

Summary

Checks whether a user is a member of specific role.

Syntax

C#
VB
C++
[OperationContractAttribute()] 
public bool IsUserInRole( 
   string username, 
   string role, 
   string extraData 
) 
  
<OperationContractAttribute()> 
Function IsUserInRole( _ 
   ByVal username As String, _ 
   ByVal role As String, _ 
   ByVal extraData As String _ 
) As Boolean 
[OperationContractAttribute()] 
bool IsUserInRole(  
   String^ username, 
   String^ role, 
   String^ extraData 
)  

Parameters

username
A System.String representing the user name.

role
A System.String representing the name of the role.

extraData
User custom data.

Return Value

true if the user is a member of the specified role.

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.Dicom.WCF Assembly