ContextUtil.IsCallerInRole(String) Methode

Definitie

Bepaalt of de aanroeper zich in de opgegeven rol bevindt.

public:
 static bool IsCallerInRole(System::String ^ role);
public static bool IsCallerInRole(string role);
static member IsCallerInRole : string -> bool
Public Shared Function IsCallerInRole (role As String) As Boolean

Parameters

role
String

De naam van de rol die moet worden gecontroleerd.

Retouren

true als de aanroeper zich in de opgegeven rol bevindt; anders, false.

Uitzonderingen

Er is geen COM+-context beschikbaar.

Van toepassing op