Home | History | Annotate | Download | only in user

Lines Matching defs:User

5 // Package user allows user account lookups by name or id.
6 package user
17 // User represents a user account.
18 type User struct {
19 // Uid is the user ID.
22 // On Plan 9, this is the contents of /dev/user.
27 // On Plan 9, this is the contents of /dev/user.
31 // Name is the user's real or display name.
35 // On Windows, this is the user's display name.
36 // On Plan 9, this is the contents of /dev/user.
38 // HomeDir is the path to the user's home directory (if they have one).
50 // UnknownUserIdError is returned by LookupId when a user cannot be found.
54 return "user: unknown userid " + strconv.Itoa(int(e))
58 // a user cannot be found.
62 return "user: unknown user " + string(e)