Github user dkuppitz commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/833#discussion_r181456003 --- Diff: docs/src/reference/gremlin-applications.asciidoc --- @@ -1365,15 +1365,22 @@ Please see the example usage as follows: ---- graph = TinkerGraph.open() graph.createIndex("username",Vertex.class) -credentials = credentials(graph) -credentials.createUser("stephen","password") -credentials.createUser("daniel","better-password") -credentials.createUser("marko","rainbow-dash") -credentials.findUser("marko").properties() -credentials.countUsers() -credentials.removeUser("daniel") -credentials.countUsers() ----- +credentials = graph.traversal(CredentialTraversalSource.class) +credentials.user("stephen","password") +credentials.user("daniel","better-password") +credentials.user("marko","rainbow-dash") +credentials.users("marko").valueMap() +credentials.users().count() +credentials.user("daniel").drop() --- End diff -- Ignoring that simply dropping my user account is probably not in line with the current GDPR, this should be `credentials.users("daniel").drop()`.
---