<Member Name="IsInRole(System.String)" />
<Member Name ="get_Identity" />
</Type>
- <Type Name="System.Security.Principal.PrincipalPolicy">
- <Member MemberType="Field" Name="UnauthenticatedPrincipal" />
- <Member MemberType="Field" Name="NoPrincipal" />
- <Member MemberType="Field" Name="WindowsPrincipal" />
- <Member MemberType="Field" Name="value__" />
- </Type>
<Type Name="System.Security.Principal.TokenImpersonationLevel">
<Member MemberType="Field" Name="Anonymous" />
<Member MemberType="Field" Name="Delegation" />
<ItemGroup>
<SecurityPrincipalSources Include="$(BclSourcesRoot)\System\Security\Principal\IIdentity.cs" />
<SecurityPrincipalSources Include="$(BclSourcesRoot)\System\Security\Principal\IPrincipal.cs" />
- <SecurityPrincipalSources Include="$(BclSourcesRoot)\System\Security\Principal\PrincipalPolicy.cs" />
<SecurityPrincipalSources Include="$(BclSourcesRoot)\System\Security\Principal\TokenImpersonationLevel.cs" />
</ItemGroup>
<ItemGroup>
System.Security.Principal.IIdentity Identity { get; }
bool IsInRole(string role);
}
- public enum PrincipalPolicy {
- UnauthenticatedPrincipal = 0,
- NoPrincipal = 1,
- WindowsPrincipal = 2,
- }
public enum TokenImpersonationLevel
{
Anonymous = 1,
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-//
-
-//
-//
-// Enum describing what type of principal to create by default (assuming no
-// principal has been set on the AppDomain).
-//
-
-namespace System.Security.Principal
-{
- [Serializable]
- public enum PrincipalPolicy {
- // Note: it's important that the default policy has the value 0.
- UnauthenticatedPrincipal = 0,
- NoPrincipal = 1,
- WindowsPrincipal = 2,
- }
-}