WindowsPrincipal
using System.Security.Claims;
namespace System.Security.Principal
{
public class WindowsPrincipal : ClaimsPrincipal
{
public override IIdentity Identity {
get {
throw new PlatformNotSupportedException();
}
}
public WindowsPrincipal(WindowsIdentity ntIdentity)
{
throw new PlatformNotSupportedException();
}
public virtual bool IsInRole(int rid)
{
throw new PlatformNotSupportedException();
}
public virtual bool IsInRole(SecurityIdentifier sid)
{
throw new PlatformNotSupportedException();
}
public virtual bool IsInRole(WindowsBuiltInRole role)
{
throw new PlatformNotSupportedException();
}
public override bool IsInRole(string role)
{
throw new PlatformNotSupportedException();
}
}
}