Home | History | Annotate | Download | only in user

Lines Matching refs:user

5 package user
9 // Current returns the current user.
10 func Current() (*User, error) {
19 // cache of the current user
22 u *User
26 // Lookup looks up a user by username. If the user cannot be found, the
28 func Lookup(username string) (*User, error) {
35 // LookupId looks up a user by userid. If the user cannot be found, the
37 func LookupId(uid string) (*User, error) {
56 // GroupIds returns the list of group IDs that the user is a member of.
57 func (u *User) GroupIds() ([]string, error) {