Users.setPasswordRules (Method)

Sets certain password rules for the specified user.

Returns:

Void

Arguments:

Name Type Required Description
id UserID Required The unique id of the user.
passwordExpirationDays NonNegativeInteger Required The number of days in which the password expires.
requirePasswordChange Boolean Required A boolean flag which when set to true forces the user to change their password upon next login.

Context:

License Requirements None
Permission Requirements User:Admin
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the customer level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None