Рейтинг@Mail.ru

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.