User represents a user in the ACL system.
| 64 | |
| 65 | // User represents a user in the ACL system. |
| 66 | type User struct { |
| 67 | Uid string `json:"uid"` |
| 68 | UserID string `json:"dgraph.xid"` |
| 69 | Password string `json:"dgraph.password"` |
| 70 | Namespace uint64 `json:"namespace"` |
| 71 | PasswordMatch bool `json:"password_match"` |
| 72 | Groups []Group `json:"dgraph.user.group"` |
| 73 | } |
| 74 | |
| 75 | // GetUid returns the UID of the user. |
| 76 | func (u *User) GetUid() string { |
nothing calls this directly
no outgoing calls
no test coverage detected