box.session.uid() | Tarantool

box.session.uid()

box.session.uid()
Return:the user ID of the current user.
Rtype:number

Every user has a unique name (seen with box.session.user()) and a unique ID (seen with box.session.uid()). The values are stored together in the _user space.

Found what you were looking for?
Feedback