Compartilhar via


Método ExecutionUtilities.IsAuthenticatedUserInAdminGroup

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (em Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintaxe

'Declaração
Public Shared Function IsAuthenticatedUserInAdminGroup ( _
    identity As WindowsIdentity _
) As Boolean
public static bool IsAuthenticatedUserInAdminGroup(
    WindowsIdentity identity
)
public:
static bool IsAuthenticatedUserInAdminGroup(
    WindowsIdentity^ identity
)
static member IsAuthenticatedUserInAdminGroup : 
        identity:WindowsIdentity -> bool 
public static function IsAuthenticatedUserInAdminGroup(
    identity : WindowsIdentity
) : boolean

Parâmetros

Valor de retorno

Tipo: System.Boolean

Segurança do .NET Framework

Consulte também

Referência

ExecutionUtilities Classe

Namespace Microsoft.VisualStudio.TestTools.Execution