WindowsIdentity.IsGuest Property
.NET Framework (current version)
Gets a value indicating whether the user account is identified as a Guest account by the system.
Assembly: mscorlib (in mscorlib.dll)
The following code shows the use of the IsGuest property to return a value indicating whether the user account is identified as a Guest account by the system. This code example is part of a larger example provided for the WindowsIdentity class.
.NET Framework
Available since 1.1
Available since 1.1
Show: