# How to record who the logged in user is when a record is created

**URL:** <https://forums.knack.com/t/how-to-record-who-the-logged-in-user-is-when-a-record-is-created/6830>\
**Category:** Get Answers\
**Created:** [February 8, 2019, 8:14am UTC](https://forums.knack.com/t/how-to-record-who-the-logged-in-user-is-when-a-record-is-created/6830 "2019-02-08T08:14:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaulClarke60012](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@PaulClarke60012](https://forums.knack.com/u/PaulClarke60012)\
**Post date:** [February 8, 2019, 8:14am UTC](https://forums.knack.com/t/how-to-record-who-the-logged-in-user-is-when-a-record-is-created/6830/1 "2019-02-08T08:14:36Z")

</div>

Please could someone tell me how I can setup knack so when a user creates a record the record also stores the users name.

Eg If you were booking a calendar event for a staff member, but the staff member has a further question about the booking and wants to ask who ever made the booking/created the record more about it.

Thank You

---

<div class="post-metadata">

**Author:** ![PaulClarke60012](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@PaulClarke60012](https://forums.knack.com/u/PaulClarke60012)\
**Post date:** [February 8, 2019, 1:15pm UTC](https://forums.knack.com/t/how-to-record-who-the-logged-in-user-is-when-a-record-is-created/6830/2 "2019-02-08T13:15:22Z")

</div>

Sounds great Abeer, thank you!. I will set it up!

---

<div class="post-metadata">

**Author:** ![AbeerMonaq52234](https://avatars.discourse-cdn.com/v4/letter/a/48db29/32.png) [@AbeerMonaq52234](https://forums.knack.com/u/AbeerMonaq52234)\
**Post date:** [February 8, 2019, 8:39am UTC](https://forums.knack.com/t/how-to-record-who-the-logged-in-user-is-when-a-record-is-created/6830/3 "2019-02-08T08:39:40Z")

</div>

Hi Paul,

This is actually simple and i use it a lot. I usually just create 2 connections to the accounts in the same object. In your case, in your bookings object, the first 1-to-many connection to account object would be named “booked/created by” which i’ll use a form rule to have this set as the logged in user who’s making the booking. And the other 1-to-many connection to account object would be named “Booking for or Staff member” and this will be included in form to be choosed from.

I hope this helps. Let me know if you have more questions about this.
