Partager via


ExecutionUtilities.IsAuthenticatedUserInAdminGroup Method

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

Syntax

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

Parameters

  • identity
    Type: WindowsIdentity

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

ExecutionUtilities Class

Microsoft.VisualStudio.TestTools.Execution Namespace