C#
VB
C++
Checks whether a user is a member of specific role.
username
A System.String representing the user name.
role
A System.String representing the name of the role.
extraData
User custom data.
true if the user is a member of the specified role.