Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: System.Security.Principal.WindowsIdentity
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.