Condividi tramite


Metodo ExecutionUtilities.IsAuthenticatedUserInAdminGroup

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Sintassi

'Dichiarazione
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

Parametri

  • identity
    Tipo: WindowsIdentity

Valore restituito

Tipo: Boolean

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ExecutionUtilities Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.Execution