Check if a role defiened by the server.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As IManageService
Dim RoleName As String
Dim extraData As String
Dim value As Boolean
value = instance.RoleExists(RoleName, extraData)
|
Parameters
- RoleName
-
A String representing the role name to check for.
- extraData
-
User custom data.
Return Value
true if the role name is defined by the server; otherwise false.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
See Also