Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ILocalUser

Represents the local or currently logged in user.
Read time 1 minuteLast updated 6 days ago

Definition

Warning
Deprecated. ILocalUser is deprecated and will be removed in a future release.
public interface ILocalUser : IUserProfile

Properties

Property

Description

authenticatedChecks if the current user has been authenticated.
friendsThe users friends list.
underageIs the user underage?

Methods

Method

Description

AuthenticateAuthenticate the local user to the current active Social API implementation and fetch his profile data.
LoadFriendsFetches the friends list of the logged in user. The friends list on the Social.localUser instance is populated if this call succeeds.

Inheritance