MCPcopy
hub / github.com/dgraph-io/dgraph / User

Struct User

acl/utils.go:66–73  ·  view source on GitHub ↗

User represents a user in the ACL system.

Source from the content-addressed store, hash-verified

64
65// User represents a user in the ACL system.
66type 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.
76func (u *User) GetUid() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected