Innovt Platform
Search Results for

    Show / Hide Table of Contents

    Class AuthUser

    Represents a user in the authentication system.

    Inheritance
    object
    Entity
    AuthUser
    Inherited Members
    Entity.CreatedAt
    Entity.UpdatedAt
    Entity.IsNew()
    Entity.SetAsNew()
    Entity.GetHashCode()
    Entity.Equals(object)
    Entity.AddDomainEvent(DomainEvent)
    Entity.GetDomainEvents()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Innovt.Domain.Security
    Assembly: Innovt.Domain.dll
    Syntax
    public class AuthUser : Entity

    Constructors

    | Edit this page View Source

    AuthUser()

    Initializes a new instance of the AuthUser class.

    Declaration
    public AuthUser()

    Properties

    | Edit this page View Source

    DomainId

    Gets or sets the domain ID associated with the user.

    Declaration
    public string DomainId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Groups

    Gets or sets the groups associated with the user.

    Declaration
    public IList<Group> Groups { get; }
    Property Value
    Type Description
    IList<Group>
    | Edit this page View Source

    Id

    Gets or sets the user ID.

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Name

    Gets or sets the name of the user.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Roles

    Gets or sets the roles associated with the user.

    Declaration
    public IList<Role> Roles { get; }
    Property Value
    Type Description
    IList<Role>

    Methods

    | Edit this page View Source

    AssignGroup(Group)

    Assigns a group to the user.

    Declaration
    public void AssignGroup(Group group)
    Parameters
    Type Name Description
    Group group

    The group to assign.

    | Edit this page View Source

    AssignRole(Role)

    Assigns a role to the user.

    Declaration
    public void AssignRole(Role role)
    Parameters
    Type Name Description
    Role role

    The role to assign.

    | Edit this page View Source

    UnAssignGroup(string)

    Unassigns a group from the user.

    Declaration
    public void UnAssignGroup(string groupName)
    Parameters
    Type Name Description
    string groupName

    The name of the group.

    | Edit this page View Source

    UnAssignRole(string, string)

    Unassigns a role from the user.

    Declaration
    public void UnAssignRole(string scope, string roleName)
    Parameters
    Type Name Description
    string scope

    The scope of the role.

    string roleName

    The name of the role.

    Extension Methods

    Extensions.IsNull(object)
    Extensions.ToStringOrDefault(object)
    SimpleMapper.MapTo<T1>(object)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX