Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help


search: keywords: ['java', 'osecurityuser', 'setpassword']

OSecurityUser - setPassword()

Defines the password for the user account.

Setting Passwords

Users in OrientDB have passwords, allowing you to authenticate their access to the Server. Using this method you can set the password for the user account.

Syntax

OSecurityUser OSecurityUser().setPassword(String password)
ArgumentTypeDescription
passwordStringDefines the new password

Return Value

This method returns the updated OSecurityUser instance. You may find this useful in chaining several user operations together.