how to show user created only in d365

i have created a check box in form

so when checkbox check it need to show user created by details

Could you please give us more details about what you’re trying to achieve and what you’ve already done?

Doesn’t this belong to the developer forum? (I can move there if it does.)

i have created a checkbox in form ,when checkbox(usercreatedby) is clicked it need to show the details of record created by or current user logged in system details

What form? Also, can’t the user just go to the record info form and see that themselves using standard functionality?