# ILocalUser

> Represents the local or currently logged in user.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEngine.SocialPlatforms](/engine/6000.5/script-reference/unityengine/socialplatforms.md)
* **Assembly:** UnityEngine.GameCenterModule

> **Warning:**
>
> **Deprecated.** ILocalUser is deprecated and will be removed in a future release.

```csharp
public interface ILocalUser : IUserProfile
```

## Properties

| Property                                                                                                 | Description                                        |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [authenticated](/engine/6000.5/script-reference/unityengine/socialplatforms/ilocaluser/authenticated.md) | Checks if the current user has been authenticated. |
| [friends](/engine/6000.5/script-reference/unityengine/socialplatforms/ilocaluser/friends.md)             | The users friends list.                            |
| [underage](/engine/6000.5/script-reference/unityengine/socialplatforms/ilocaluser/underage.md)           | Is the user underage?                              |

## Methods

| Method                                                                                                 | Description                                                                                                                                                                                                                       |
| ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Authenticate](/engine/6000.5/script-reference/unityengine/socialplatforms/ilocaluser/authenticate.md) | Authenticate the local user to the current active Social API implementation and fetch his profile data.                                                                                                                           |
| [LoadFriends](/engine/6000.5/script-reference/unityengine/socialplatforms/ilocaluser/loadfriends.md)   | Fetches the friends list of the logged in user. The friends list on the [Social.localUser](/engine/6000.5/script-reference/unityengine/socialplatforms/isocialplatform/localuser.md) instance is populated if this call succeeds. |

## Inheritance

**Inherited Members:**

* [IUserProfile.userName](/engine/6000.5/script-reference/unityengine/socialplatforms/iuserprofile/username.md)
* [IUserProfile.id](/engine/6000.5/script-reference/unityengine/socialplatforms/iuserprofile/id.md)
* [IUserProfile.isFriend](/engine/6000.5/script-reference/unityengine/socialplatforms/iuserprofile/isfriend.md)
* [IUserProfile.state](/engine/6000.5/script-reference/unityengine/socialplatforms/iuserprofile/state.md)
* [IUserProfile.image](/engine/6000.5/script-reference/unityengine/socialplatforms/iuserprofile/image.md)
