docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerInfo

    Contains Player Information

    Inheritance
    object
    PlayerInfo
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Unity.Services.Authentication
    Assembly: solution.dll
    Syntax
    public sealed class PlayerInfo

    Properties

    Name Description
    CreatedAt

    Player Creation DateTime in UTC

    Id

    Player Id

    Identities

    Player Identities

    LastPasswordUpdate

    Last time the password was updated for the username/password account or null if none is set

    Username

    Username associated with the username/password account or null if none is set

    Methods

    Name Description
    GetAppleGameCenterId()

    Returns the player's AppleGameCenter teamPlayerID if one has been linked.

    GetAppleId()

    Returns the player's Sign in with Apple id if one has been linked.

    GetCustomId()

    Returns the player's custom id if one has been linked

    GetFacebookId()

    Returns the player's facebook id if one has been linked.

    GetGoogleId()

    Returns the player's Google id if one has been linked.

    GetGooglePlayGamesId()

    Returns the player's Google Play Games id if one has been linked.

    GetOculusId()

    Returns the player's Oculus OrgScopedID if one has been linked.

    GetOpenIdConnectId(string)

    Returns the player's id if one has been linked with a given OpenID Connect id provider.

    GetOpenIdConnectIdProviders()

    Get all OpenID Connect id providers linked to the player

    GetSteamId()

    Returns the player's steam id if one has been linked.

    GetUnityId()

    Returns the player's Unity id if one has been linked

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)