<p>You get the author's username of an entry via it's <a href="http://buildwithcraft.com/docs/templating/entrymodel" rel="nofollow">entry model</a> like so:</p>

<pre><code>{{ entry.author }}
</code></pre>

CC BY-SA 3.0
2015-03-20T12:02:58.473Z
I went through `craft.users` . Oh, learning whole life
Dominik Krulak
CC BY-SA 3.0
2015-03-20T11:48:46.120Z
2015-03-20T11:48:46.120Z
carlcs
<p>I have one user group created, several users in it excludes admin.
I've tested it includes admin to that user group, but with no effect.</p>

<p>If you create an entry in channel as admin and check at front end for author of the entry, you'll see not admin, but actually the data of a first user created in Craft.</p>

<p>Is it done on purpose? If so, What is it, so I understand that.</p>

<users><entry><admin>
How to get the author of an entry?
# How to get the author of an entry?

(Asked by: username_0 on 2015-03-20)

I have one user group created, several users in it excludes admin.
I've tested it includes admin to that user group, but with no effect.

If you create an entry in channel as admin and check at front end for author of the entry, you'll see not admin, but actually the data of a first user created in Craft.

Is it done on purpose? If so, What is it, so I understand that.

**Tags:** users, entry, admin


---

## 1 answers

### Answer by username_1 on 2015-03-20. Score: 2 | Accepted answer

You get the author's username of an entry via it's entry model like so:
{{ entry.author }}

> **Comments:**
> **username_0**: I went through `craft.users` . Oh, learning whole life  

---

