This documentation is archived and is not being maintained.

WindowsPrincipal Class

Allows code to check the Windows group membership of a Windows user.

For a list of all members of this type, see WindowsPrincipal Members.

System.Object
   System.Security.Principal.WindowsPrincipal

[Visual Basic]
<Serializable>
Public Class WindowsPrincipal
   Implements IPrincipal
[C#]
[Serializable]
public class WindowsPrincipal : IPrincipal
[C++]
[Serializable]
public __gc class WindowsPrincipal : public IPrincipal
[JScript]
public
   Serializable
class WindowsPrincipal implements IPrincipal

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Security.Principal

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

WindowsPrincipal Members | System.Security.Principal Namespace

Show: