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

OSecurityUser - setName()

Defines the logical name for the user.

Logical User Names

Where your Java application interacts with users through the OSecuirtyUser interface, in OrientDB SQL the users are identified by their logical names. Using this method, you can set the logical name for the user.

Syntax

OSecurityUser OSecurityUser().setName(String name)
ArgumentTypeDescription
nameStringDefines the logical name for the user

Return Value

This method returns the updated OSecurityUser instance, which you can then use in chaining several operations together.