Determines whether the current principal belongs to the specified role.
Namespace:
Asi.iBO.ContactManagement
Assembly:
Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| Visual Basic (Declaration) |
|---|
Public Function IsInRole ( _
role As String _
) As Boolean |
| Visual C++ |
|---|
public:
virtual bool IsInRole(
String^ role
) sealed |
Parameters
- role
- Type: System..::.String
The name of the role for which to check membership.
Return Value
true if the current user is a member of the specified role; otherwise, false.
Implements
IPrincipal..::.IsInRole(String)
See Also