Skip to content

IAdmSelfPasswordResetManagerFactory

The IAdmSelfPasswordResetManagerFactory interface is used to create Password Self-Service sessions for a user.

Inheritance: The IAdmSelfPasswordResetManagerFactory interface inherits from the IUnknown interface.

Note

To get the IAdmSelfPasswordResetManagerFactory interface, use the IAdmService4::GetSelfPasswordResetManagerFactory method.

Methods

Details

CreateManager()

Creates an instance of the IAdmSelfPasswordResetManager interface that is used to manage a Password Self-Service session for the given user.

IAdmSelfPasswordResetManager CreateManager(String userName, 
                                           String hostname, 
                                           out String cookie)

Parameters

  • userName - Specifies the username of the account for which a session will be initiated. The username can be specified either in EXAMPLE\jdoe or jdoe@example.com format.
  • hostname - Specifies the host name where the session is initiated. If password reset is initiated from a third-party application or script, the parameter can be NULL.
  • cookie - An output (OUT) parameter that can be used to access the instance of the IAdmSelfPasswordResetManager interface returned by this method when calling the GetManager method.

GetManager()

Returns an instance of the IAdmSelfPasswordResetManager interface by the given cookie.

IAdmSelfPasswordResetManager  GetManager(String cookie)

Parameters

The cookie parameter specifies the cookie returned by the CreateManager method when creating the required instance.


Requirements

Minimum required version: 2018.1

See also