Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.Security.Principal.PrincipalPolicy
Assembly: System.Runtime
Specifies how principal and identity objects should be created for an application domain. The default is <see langword="UnauthenticatedPrincipal" /> .
Values
UnauthenticatedPrincipal
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 <see langword="false" /> .
NoPrincipal
No principal or identity objects should be created.
WindowsPrincipal
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.