Search Results for

    Show / Hide Table of Contents

    Class WindowsPrincipal

    Inheritance
    System.Object
    WindowsPrincipal
    Namespace: System.Security.Principal
    Assembly: IronZip.dll
    Syntax
    public class WindowsPrincipal : ClaimsPrincipal

    Constructors

    WindowsPrincipal(WindowsIdentity)

    Declaration
    public WindowsPrincipal(WindowsIdentity ntIdentity)
    Parameters
    Type Name Description
    WindowsIdentity ntIdentity

    Properties

    DeviceClaims

    Declaration
    public virtual IEnumerable<Claim> DeviceClaims { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>

    Identity

    Declaration
    public override IIdentity Identity { get; }
    Property Value
    Type Description
    System.Security.Principal.IIdentity

    UserClaims

    Declaration
    public virtual IEnumerable<Claim> UserClaims { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.Security.Claims.Claim>

    Methods

    IsInRole(Int32)

    Declaration
    public virtual bool IsInRole(int rid)
    Parameters
    Type Name Description
    System.Int32 rid
    Returns
    Type Description
    System.Boolean

    IsInRole(SecurityIdentifier)

    Declaration
    public virtual bool IsInRole(SecurityIdentifier sid)
    Parameters
    Type Name Description
    SecurityIdentifier sid
    Returns
    Type Description
    System.Boolean

    IsInRole(WindowsBuiltInRole)

    Declaration
    public virtual bool IsInRole(WindowsBuiltInRole role)
    Parameters
    Type Name Description
    WindowsBuiltInRole role
    Returns
    Type Description
    System.Boolean

    IsInRole(String)

    Declaration
    public override bool IsInRole(string role)
    Parameters
    Type Name Description
    System.String role
    Returns
    Type Description
    System.Boolean
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronZIP to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronZIP free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.