ContextUtil::IsCallerInRole Method (String^)
.NET Framework (current version)
Determines whether the caller is in the specified role.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
Parameters
- role
-
Type:
System::String^
The name of the role to check.
| Exception | Condition |
|---|---|
| COMException | There is no COM+ context available. |
.NET Framework
Available since 1.1
Available since 1.1
Show: