Search Results for

    Show / Hide Table of Contents

    Method SendPasswordResetInvitation

    SendPasswordResetInvitation(String, String, String)

    Send password reset invitation

    Declaration
    void SendPasswordResetInvitation(string tenantName, string user, string targetURL)
    Parameters
    Type Name Description
    System.String tenantName

    Optional: Tenant name to logon to. See also GetAllTenantNames()

    System.String user

    User id or user name or user email address

    System.String targetURL

    Target url prepared for the user to reset the password

    Remarks
    • The password will only be reset, after the user has reset it in the link provided in the email we sent to the user
    Examples

    POST https://YourServerName/InfoShare/Json/Authentication/SendPasswordResetInvitation

    Example for SendPasswordResetInvitation for a user.

    {
       "tenantName": "DCIS_KENDOX",
       "user": "john.doe",
       "targetURL" : "http://YourServerName/mobilewebclient/#/resetpassword?Token=%LoginToken%"
    }

    Response:

    {
    }
    Exceptions
    Type Condition
    ServiceException

    Tenant not found {tenantName} (10038)

    ServiceException

    No {server / sender name / sender address} defined in the SMTP settings (10145)

    ServiceException

    No recipient mail address defined for user {loginName} (10146)

    ServiceException

    User {user} is invalid: It corresponds neither to a valid user id nor user login name nor user email address (10165)

    ServiceException

    Email address {0} is assigned to more than one user (10170)

    Back to top Copyright © Kendox