# rootlogon.C documentation

**URL:** <https://root-forum.cern.ch/t/rootlogon-c-documentation/49150>\
**Category:** General Chat\
**Tags:** documentation\
**Created:** [March 12, 2022, 5:01pm UTC](https://root-forum.cern.ch/t/rootlogon-c-documentation/49150 "2022-03-12T17:01:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 12, 2022, 5:04pm UTC](https://root-forum.cern.ch/t/rootlogon-c-documentation/49150/2 "2022-03-12T17:04:05Z")

</div>

In any ROOT version (also in ROOT 5), either an “unnamed” macro (I somehow remember that the “`{`” needed to be the very first line in an “unnamed” macro):

```cpp
{
  // ...
}

```

or a “named” macro:

```auto
void rootlogon() {
  // ...
}

```

---

_[View the full topic](https://root-forum.cern.ch/t/rootlogon-c-documentation/49150)._
