Packagecom.kongregate.as3.client.user
Classpublic dynamic class UserInfo

An object containing information about the current player. User services are only partially supported in this initial release of the API.

Note:
Currently, this class is not compiled in the distributable component, so developers should not try to import it. This information is only included in the documentation so developers can be aware of what properties are accessible when the data is returned to them.

See also

KongregateAPI > user
com.kongregate.as3.client.services.IUserServices


Public Properties
 PropertyDefined by
  avatarPath : String
[read-only] Returns a relative path to the player's avatar.
UserInfo
  chatAvatarPath : String
[read-only] Returns a relative path to the player's chat sized avatar.
UserInfo
  isAdmin : Boolean
[read-only] Returns a flag indicating whether or not the current player is an admin on Kongregate.
UserInfo
  isDeveloper : Boolean
[read-only] Returns a flag indicating whether or not the player is a developer on Kongregate.
UserInfo
  isMod : Boolean
[read-only] Returns a flag indicating whether or not the current player is a moderator on Kongregate.
UserInfo
  level : uint
[read-only] Returns an unsigned integer indicating the current player's level.
UserInfo
  points : uint
[read-only] Returns the number of points the current player has.
UserInfo
Property detail
avatarPathproperty
avatarPath:String  [read-only]

Returns a relative path to the player's avatar.

Implementation
    public function get avatarPath():String
chatAvatarPathproperty 
chatAvatarPath:String  [read-only]

Returns a relative path to the player's chat sized avatar.

Implementation
    public function get chatAvatarPath():String
isAdminproperty 
isAdmin:Boolean  [read-only]

Returns a flag indicating whether or not the current player is an admin on Kongregate.

Implementation
    public function get isAdmin():Boolean
isDeveloperproperty 
isDeveloper:Boolean  [read-only]

Returns a flag indicating whether or not the player is a developer on Kongregate.

Implementation
    public function get isDeveloper():Boolean
isModproperty 
isMod:Boolean  [read-only]

Returns a flag indicating whether or not the current player is a moderator on Kongregate.

Implementation
    public function get isMod():Boolean
levelproperty 
level:uint  [read-only]

Returns an unsigned integer indicating the current player's level. Returns 0 if they are a guest.

Implementation
    public function get level():uint
pointsproperty 
points:uint  [read-only]

Returns the number of points the current player has. Returns 0 if they are a guest.

Implementation
    public function get points():uint