Leadtools.Dicom.WCF
LEAD Technologies, Inc

IsUserInRole Method (IManageService)






A System.String representing the user name.
A System.String representing the name of the role.
User custom data.
Checks whether a user is a member of specific role.
Syntax
[OperationContractAttribute()]
bool IsUserInRole( 
   string username,
   string role,
   string extraData
)
'Declaration
 
<OperationContractAttribute()>
Function IsUserInRole( _
   ByVal username As String, _
   ByVal role As String, _
   ByVal extraData As String _
) As Boolean
'Usage
 
Dim instance As IManageService
Dim username As String
Dim role As String
Dim extraData As String
Dim value As Boolean
 
value = instance.IsUserInRole(username, role, extraData)
[OperationContractAttribute()]
bool IsUserInRole( 
   string username,
   string role,
   string extraData
)
OperationContractAttribute()
function Leadtools.Dicom.WCF.IManageService.IsUserInRole( 
   username ,
   role ,
   extraData 
)
[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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IManageService Interface
IManageService Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.