Checks 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 System.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: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also