Files
Dec2017-Script-Dump/mscorlib/System/Security/Principal/PrincipalPolicy.cs
T
2026-06-04 11:42:34 +02:00

23 lines
1.1 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Security.Principal
{
/// <summary>Specifies how principal and identity objects should be created for an application domain. The default is UnauthenticatedPrincipal.</summary>
// Token: 0x020005B1 RID: 1457
[ComVisible(true)]
[Serializable]
public enum PrincipalPolicy
{
/// <summary>Principal and identity objects for the unauthenticated entity should be created. An unauthenticated entity has <see cref="P:System.Security.Principal.GenericIdentity.Name" /> set to the empty string ("") and <see cref="P:System.Security.Principal.GenericIdentity.IsAuthenticated" /> set to false.</summary>
// Token: 0x04001596 RID: 5526
UnauthenticatedPrincipal,
/// <summary>No principal or identity objects should be created.</summary>
// Token: 0x04001597 RID: 5527
NoPrincipal,
/// <summary>Principal and identity objects that reflect the operating system token associated with the current execution thread should be created, and the associated operating system groups should be mapped into roles.</summary>
// Token: 0x04001598 RID: 5528
WindowsPrincipal
}
}