Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IUserInviteSender

    Provides functionality to send user invitation messages.

    Namespace: Umbraco.Cms.Core.Security
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IUserInviteSender

    Methods

    View Source

    CanSendInvites()

    Determines whether the sender is configured and able to send invites.

    Declaration
    bool CanSendInvites()
    Returns
    Type Description
    bool

    true if the sender can send invites; otherwise, false.

    View Source

    InviteUser(UserInvitationMessage)

    Sends an invitation to the user.

    Declaration
    Task InviteUser(UserInvitationMessage invite)
    Parameters
    Type Name Description
    UserInvitationMessage invite

    The invitation message containing user and invite details.

    Returns
    Type Description
    Task

    A task representing the asynchronous operation.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX