ContextUtil.IsCallerInRole(String) Método

Definição

Determina se o chamador está na função especificada.

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

Parâmetros

role
String

O nome da função a ser verificada.

Retornos

true se o chamador estiver na função indicada; caso contrário, false.

Exceções

Não há contextos de COM+ disponíveis.

Aplica-se a