IdeaBlade DevForce 2010 Help Reference
IsInRole Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > UserBase Class : IsInRole Method



role
Determines whether the user has been assigned the specified role.

Syntax

Visual Basic (Declaration) 
Public Function IsInRole( _
   ByVal role As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UserBase
Dim role As String
Dim value As Boolean
 
value = instance.IsInRole(role)
C# 
public bool IsInRole( 
   string role
)
C++/CLI 
public:
bool IsInRole( 
   String^ role
) 

Parameters

role

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.