←Select platform

IsUserInRole Method (IManageService)

Summary

Checks whether a user is a member of specific role.

Syntax

C#
VB
C++
[OperationContractAttribute()] 
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom.WCF Assembly
Click or drag to resize