summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.h
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2018-08-16 16:02:16 -0400
committerJonathan Reams <jbreams@mongodb.com>2018-09-14 11:12:45 -0400
commit2ea069aa505c750cad6a7ba6ae6d4ac897f396d1 (patch)
treeb8093da62175046189de9fbb876b5ef8b79181b1 /src/mongo/db/audit.h
parent7087350d1d5c943520e9972ac1f8b85252c0eceb (diff)
downloadmongo-2ea069aa505c750cad6a7ba6ae6d4ac897f396d1.tar.gz
SERVER-5261 Include authentication information in currentOp output
Diffstat (limited to 'src/mongo/db/audit.h')
-rw-r--r--src/mongo/db/audit.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/audit.h b/src/mongo/db/audit.h
index 60619a4b776..6e2c3fae986 100644
--- a/src/mongo/db/audit.h
+++ b/src/mongo/db/audit.h
@@ -311,13 +311,5 @@ void logRemoveShard(Client* client, StringData shardname);
*/
void logShardCollection(Client* client, StringData ns, const BSONObj& keyPattern, bool unique);
-
-/*
- * Appends an array of user/db pairs and an array of role/db pairs
- * to the provided metadata builder. The users and roles are extracted from the current client.
- * They are to be the impersonated users and roles for a Command run by an internal user.
- */
-void writeImpersonatedUsersToMetadata(OperationContext* opCtx, BSONObjBuilder* metadataBob);
-
} // namespace audit
} // namespace mongo