> For the complete documentation index, see [llms.txt](https://api.raftmodding.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.raftmodding.com/modding-examples/get-the-current-steamid.md).

# Get the current SteamID

To retrieve the current user steamid we use the `GetSteamID` method from the `SteamUser` class.\
We also need to use the `Steamworks` namespace by adding `using Steamworks;` at the top of your class.

```csharp
using Steamworks;

CSteamID steamid = SteamUser.GetSteamID();
```
