Skip to content

IAdmPasswordSelfServicePolicy

The IAdmPasswordSelfServicePolicy interface represents a Password Self-Service Policy.

Inheritance: The IAdmPasswordSelfServicePolicy interface inherits from the IAdmTop interface.

Methods

Properties

Details

FindAffectedUsers()

Returns an Object that can be casted either to the IAdmDirectorySearch or the IAdmDirectorySearcher interface. The interfaces can be used to find all users affected by the Password Self-Service Policy.

Object FindAffectedUsers()

SendEnrollmentNotification()

Initiates sending Password Self-Service enrollment notifications to all unenrolled users that are affected by the policy.

void SendEnrollmentNotification()

QuestionsAndAnswersEnabled

Gets or sets a value that indicates whether the Security Questions and Answers feature is enabled for the Self-Password Reset process.

  • Type:
  • Boolean
  • Access:
  • Read/Write

NumberQuestionsToAnswer

Gets or sets the number of security questions necessary to enroll for Password Self-Service.

  • Type:
  • Int32
  • Access:
  • Read/Write

Remarks

If the IAdmPasswordSelfServicePolicy4::NumberQuestionsToVerify property is set to 0, this property also sets the number of questions a user needs to answer in order to reset a password or unlock their account.


Questions

Gets or sets a collection of questions available for a user to answer in order to reset their password. Each question in the collection is represented by the IAdmPasswordSelfServiceQuestion interface.


NumberUserQuestions

Gets or sets the number of user-defined questions that are allowed by the policy.

  • Type:
  • Int32
  • Access:
  • Read/Write

UserQuestionMinLength

Gets or sets the minimum length of a user-defined question.

  • Type:
  • Int32
  • Access:
  • Read/Write

AnswerMinLengthEnabled

Gets or sets a value that indicates whether user’s answers are limited by minimum length.

  • Type:
  • Boolean
  • Access:
  • Read/Write

AnswerMinLength

Gets or sets the minimum length of a user’s answer.

  • Type:
  • Int32
  • Access:
  • Read/Write

IdenticalAnswersAllowed

Gets or sets a value that indicates whether a user is allowed to provide identical answers to two or more questions.

  • Type:
  • Boolean
  • Access:
  • Read/Write

AnswersAreCaseSensitive

Gets or sets a value that indicates whether user’s answers are case sensitive.

  • Type:
  • Boolean
  • Access:
  • Read/Write

AnswerCannotBePartOfQuestion

Gets or sets a value that indicates whether an answer can be a part of the question.

  • Type:
  • Boolean
  • Access:
  • Read/Write

SmsVerificationEnabled

Gets or sets a value that indicates whether the SMS Verification feature is enabled for the Self-Password Reset process.

  • Type:
  • Boolean
  • Access:
  • Read/Write

SmsVerificationMessage

Gets or sets a template for the SMS verification message. You can use value references in the template (e.g. %username%, %department%). Value references will be replaced with corresponding property values of the user account.

  • Type:
  • String
  • Access:
  • Read/Write

Remarks

The message template must contain the %verificationcode% value reference. This value reference will be replaced with the verification code.


SmsVerificationNoMobileNumberBypassed

Gets or sets a value that indicates whether SMS verification is bypassed when a user does not have a mobile number assigned.

  • Type:
  • Boolean
  • Access:
  • Read/Write

BlockAccountInvalidAttemptsEnabled

Gets or sets a value that indicates whether a user account is blocked from using the Self-Password Reset feature.

  • Type:
  • Boolean
  • Access:
  • Read/Write

BlockAccountInvalidAttemptsNumber

Gets or sets the number of invalid attempts a user must make before their account is blocked from using the Self-Password Reset feature.

  • Type:
  • Int32
  • Access:
  • Read/Write

ResetFailedAttemptsEnabled

Gets or sets a value that indicates whether the invalid attempts counter is reset automatically after a period of time specified by the ResetFailedAttemptsTimespan property.

  • Type:
  • Int32
  • Access:
  • Read/Write

ResetFailedAttemptsTimespan

Gets or sets the number of seconds after which the invalid attempts counter will be reset for the user automatically.

  • Type:
  • Int32
  • Access:
  • Read/Write

AutoUnblockAccountEnabled

Gets or sets a value that indicates whether a blocked account will be automatically unblocked after a period of time specified by the AutoUnblockAccountTimespan property.

  • Type:
  • Boolean
  • Access:
  • Read/Write

AutoUnblockAccountTimespan

Gets or sets the number of seconds after which a blocked account will be unblocked automatically.

  • Type:
  • Int32
  • Access:
  • Read/Write

UnlockAccountEnabled

Gets or sets a value that indicates whether a user can unlock their account during Self-Password Reset.

  • Type:
  • Boolean
  • Access:
  • Read/Write

EnrollmentInvitationEnabled

Gets or sets a value that indicates whether enrollment invitations will be sent to users affected by this policy.

  • Type:
  • Boolean
  • Access:
  • Read/Write

EnrollmentInvitationSubject

Gets or sets the subject of the enrollment invitation email. You can use value references in the subject (e.g. %name%, %department%). Value references will be replaced with corresponding property values of the user account.

  • Type:
  • String
  • Access:
  • Read/Write

EnrollmentInvitationText

Gets or sets the text of the enrollment invitation email. You can use value references in the text (e.g. %name%, %department%). Value references will be replaced with corresponding property values of the user account.

  • Type:
  • String
  • Access:
  • Read/Write

EnrollmentInvitationFrequency

Gets or sets a value indicating how often enrollment invitations will be sent.


PasswordResetNotificationEnabled

Gets or sets a value that indicates whether a notification must be sent to a user when the Self-Password Reset process is completed.

  • Type:
  • Boolean
  • Access:
  • Read/Write

PasswordResetNotificationSubject

Gets or sets the subject of the password reset notification. You can use value references in the subject (e.g. %name%, %department%). Value references will be replaced with corresponding property values of the user account.

  • Type:
  • String
  • Access:
  • Read/Write

PasswordResetNotificationText

Gets or sets the text of the password reset notification. You can use value references in the text (e.g. %name%, %department%). Value references will be replaced with corresponding property values of the user account.

  • Type:
  • String
  • Access:
  • Read/Write

CaptchaEnabled

Gets or sets a value that indicates whether captcha (word verification image) is displayed before resetting a password.

  • Type:
  • Boolean
  • Access:
  • Read/Write

AutoReenrollmentEnabled

Gets or sets a value that indicates whether an enrolled account that doesn’t meet the current policy will be forced to re-enroll.

  • Type:
  • Boolean
  • Access:
  • Read/Write

ActivityScopeItems

Gets a collection of scope items that represents the activity scope of the Password Self-Service Policy. Each item in the collection is represented by the IAdmActivityScopeItem interface. For more information, see Defining the scope of activity


Priority

Gets or sets a value that specifies the priority of the policy. This value is used to identify which policy to be used when more than one policy is applied to a user.

  • Type:
  • Int32
  • Access:
  • Read/Write

Enabled

Gets or sets a value that indicates whether the Password Self-Service Policy is enabled.

  • Type:
  • Boolean
  • Access:
  • Read/Write

Requirements

Minimum required version: 2011.3

See also