auth::common

Function userinfo_by_name

source
pub fn userinfo_by_name(username: Option<String>) -> UserInfoRef
Expand description

construct a UserInfo impl with name use default username greptime if None is provided