# sam.Player.get\_rank

> #### sam.Player.get\_rank( [string](https://wiki.facepunch.com/gmod/string) steamid64, [function](https://wiki.facepunch.com/gmod/function) callback )

## Description

Get a player's rank through his SteamID64.

## Aguments

1. #### [string](https://wiki.facepunch.com/gmod/string) steamid64
2. #### [function](https://wiki.facepunch.com/gmod/function) callback

   function to call when the player's rank has been retrieved from the Database

   * [**string**](https://wiki.facepunch.com/gmod/string) **rank**

## Example

```lua
sam.Player.get_rank("76561198261855442", function(rank)
    print(rank)
end)
```
