public class UserProperties
extends java.lang.Object
User.getUserProperties()
Constructor and Description |
---|
UserProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
isSupposedToChangePassword()
Method to read the value of forcePassword property
|
void |
setSupposedToChangePassword(java.lang.Boolean change)
Sets the user property which determines if a new user should change his password upon logging
in the first time.
|
public UserProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- map of the user propertiespublic void setSupposedToChangePassword(java.lang.Boolean change)
change
- decides if the user should be forced to change the passwordpublic java.lang.Boolean isSupposedToChangePassword()
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.