Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IUserConnectionManager

    A manager that tracks connection ids for users.

    Namespace: Umbraco.Cms.Core.ServerEvents
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IUserConnectionManager

    Methods

    View Source

    AddConnection(Guid, String)

    Add a connection to a user.

    Declaration
    void AddConnection(Guid userKey, string connectionId)
    Parameters
    Type Name Description
    Guid userKey

    The key of the user to add the connection to.

    System.String connectionId

    Connection id to add.

    View Source

    GetConnections(Guid)

    Get all connections held by a user.

    Declaration
    ISet<string> GetConnections(Guid userKey)
    Parameters
    Type Name Description
    Guid userKey

    The key of the user to get connections for.

    Returns
    Type Description
    ISet<System.String>

    The users connections.

    View Source

    RemoveConnection(Guid, String)

    Removes a connection from a user.

    Declaration
    void RemoveConnection(Guid userKey, string connectionId)
    Parameters
    Type Name Description
    Guid userKey

    The user key to remove the connection from.

    System.String connectionId

    The connection id to remove

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • AddConnection(Guid, String)
      • GetConnections(Guid)
      • RemoveConnection(Guid, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX