Documentation
Liferay provides a rich store of resources and knowledge to help our community better use and work with our technology.
Users
Set this to false if users cannot be deleted.
users.delete=true
Set this to true when you want the validation to allow for creation of numeric screen names.
users.screen.name.allow.numeric=false
Set this to true to always autogenerate user screen names even if the user gives a specific user screen name. If this is set to true, the LDAP importer will fetch users by their email address even if the property company.security.auth.type is set to screenName.
users.screen.name.always.autogenerate=false
Input a class name that implements com.liferay.portal.security.auth.ScreenNameGenerator. This class will be called to generate user screen names.
users.screen.name.generator=com.liferay.portal.security.auth.DefaultScreenNameGenerator
Input a class name that implements com.liferay.portal.security.auth.ScreenNameValidator. This class will be called to validate user screen names.
Examples:
users.screen.name.validator=com.liferay.portal.security.auth.DefaultScreenNameValidator
users.screen.name.validator=com.liferay.portal.security.auth.LiberalScreenNameValidator
Set this to false if you want to be able to create users without an email address. An email address will be automatically assigned to a user based on the property users.email.address.auto.suffix.
users.email.address.required=true
Set the suffix of the email address that will be automatically generated for a user that does not have an email address. This property is not used unless the property users.email.address.required is set to false. The autogenerated email address will be the user id plus the specified suffix.
users.email.address.auto.suffix=@no-emailaddress.com
Input a class name that implements com.liferay.portal.security.auth.EmailAddressGenerator. This class will be called to generate an email address for a user that does not specify an email address. This class will only be used if the property users.email.address.required is set to false.
users.email.address.generator=com.liferay.portal.security.auth.DefaultEmailAddressGenerator
Set this to true if you want the last name to be required when creating users.
users.last.name.required=false
Input a class name that implements com.liferay.portal.security.auth.FullNameGenerator. This class will be called to generate a full name from the user's first, middle and last names.
Examples:
users.full.name.generator=com.liferay.portal.security.auth.DefaultFullNameGenerator
users.full.name.generator=com.liferay.portal.security.auth.FamilyNameFirstFullNameGenerator
Input a class name that implements com.liferay.portal.security.auth.FullNameValidator. This class will be called to validate user first, middle and last names.
users.full.name.validator=com.liferay.portal.security.auth.DefaultFullNameValidator
Set the maximum file size for user portraits. A value of 0 for the maximum file size can be used to indicate unlimited file size. However, the maximum file size allowed is set in the property com.liferay.portal.upload.UploadServletRequestImpl.max.size.
users.image.max.size=307200
Set the maximum user portrait height and width in pixels. A value of 0 indicates no restictions on user portrait dimensions.
users.image.max.height=120
users.image.max.width=100
Set this to true to record last login information for a user.
users.update.last.login=true
Input a list of sections that will be included as part of the user form when adding a user.
users.form.add.main=details,organizations,personal-site
users.form.add.identification=
users.form.add.miscellaneous=
Input a list of sections that will be included as part of the user form when updating a user.
users.form.update.main=details,password,organizations,sites,user-groups,roles,personal-site,categorization
users.form.update.identification=addresses,phone-numbers,additional-email-addresses,websites,instant-messenger,social-network,sms,open-id
users.form.update.miscellaneous=announcements,display-settings,comments,custom-fields
Input a list of sections that will be included as part of the user form when updating a user in the My Account portlet.
users.form.my.account.main=details,password,organizations,sites,user-groups,roles,categorization
users.form.my.account.identification=addresses,phone-numbers,additional-email-addresses,websites,instant-messenger,social-network,sms,open-id
users.form.my.account.miscellaneous=announcements,display-settings,comments,custom-fields
Set the allowed user list views.
users.list.views=tree,flat-user-groups
Set this to true to enable reminder queries that are used to help reset a user's password.
users.reminder.queries.enabled=true
users.reminder.queries.custom.question.enabled=true
Set this to false to enable users without a reminder query to reset their password.
users.reminder.queries.required=false
Input a list of questions used for reminder queries.
users.reminder.queries.questions=what-is-your-primary-frequent-flyer-number,what-is-your-library-card-number,what-was-your-first-phone-number,what-was-your-first-teacher's-name,what-is-your-father's-middle-name
Set this to false to disable the user indexer.
users.indexer.enabled=true
Set this to true to search users from the index. Set this to false to search users from the database. Note that setting this to false will disable the ability to search users based on Expando attributes. This setting is not used unless the property "users.indexer.enabled" is set to true.
users.search.with.index=true
Set a property with the prefix users.update.user.name. and a suffix with the class name that should be updated whenever a user's name has changed.
users.update.user.name.com.liferay.portlet.messageboards.model.MBMessage=true
Input a list of user attributes that will be included when exporting users to a CSV file. You can include custom fields by adding the prefix expando: to the attribute name.
users.export.csv.fields=fullName,emailAddress