Determines whether the current principal belongs to the specified role. Only valid for iMIS 15 and later; for 10.x it always returns true.
Namespace: Asi.iBOAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public bool IsInRole( string role ) |
| Visual Basic |
|---|
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.