# <cflogout>

Logs the current user out.

Removes knowledge of the user ID, password, and roles from the server.

If you do not use this tag, the user is automatically logged out when the session ends.

This tag **cannot** have a body.
This tag is also supported within [<cfscript>](script.md)

```
<cflogout>
```

*This tag does not use any attributes.*

# Examples

### Simple Example

```cfml
<cflogin> 
<cfloginuser
name = "foo"
password ="bar"
roles = "admin"> 
</cflogin> 
<cfoutput>Authorized user: #getAuthUser()# <br></cfoutput>
<cflogout> 
<!--- <cflogout applicationtoken="false">  --->
<cfoutput>Authorized user: #getAuthUser()#</cfoutput>

```








# See Also

[<cflogin>](login.md), [<cfloginuser>](loginuser.md)