Function current_user_id

Source
pub fn current_user_id() -> Option<OwnedUserId>
Expand description

Returns the user ID of the currently logged-in user, if any.