Top.Mail.Ru
box.session.uid() | Tarantool
Tarantool
Check out the new release 2.8

box.session.uid()

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.