GDataPicasaWebUser

## GDataPicasaWebUser GDataPicasaWebUser — GData PicasaWeb User object |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <gdata/services/picasaweb/gdata-picasaweb-user.h>

                        GDataPicasaWebUser;
                        GDataPicasaWebUserClass;
    const gchar *       gdata_picasaweb_user_get_user       (GDataPicasaWebUser *self);
    const gchar *       gdata_picasaweb_user_get_nickname   (GDataPicasaWebUser *self);
    gint64              gdata_picasaweb_user_get_quota_limit
                                                            (GDataPicasaWebUser *self);
    gint64              gdata_picasaweb_user_get_quota_current
                                                            (GDataPicasaWebUser *self);
    gint                gdata_picasaweb_user_get_max_photos_per_album
                                                            (GDataPicasaWebUser *self);
    const gchar *       gdata_picasaweb_user_get_thumbnail_uri
                                                            (GDataPicasaWebUser *self);

## Object Hierarchy

      GObject
       +----GDataParsable
             +----GDataEntry
                   +----GDataPicasaWebUser

## Properties

      "max-photos-per-album"     gint                  : Read
      "nickname"                 gchar*                : Read
      "quota-current"            gint64                : Read
      "quota-limit"              gint64                : Read
      "thumbnail-uri"            gchar*                : Read
      "user"                     gchar*                : Read

## Description

GDataPicasaWebUser is a subclass of GDataEntry to represent properties for a PicasaWeb user. It adds a couple of properties which are specific to the Google PicasaWeb API.

## Details

### GDataPicasaWebUser

    typedef struct _GDataPicasaWebUser GDataPicasaWebUser;

All the fields in the GDataPicasaWebUser structure are private and should never be accessed directly.

Since 0.6.0

### GDataPicasaWebUserClass

    typedef struct {
    } GDataPicasaWebUserClass;

All the fields in the GDataPicasaWebUserClass structure are private and should never be accessed directly.

Since 0.6.0

### gdata_picasaweb_user_get_user ()

    const gchar *       gdata_picasaweb_user_get_user       (GDataPicasaWebUser *self);

Gets the "user" property.

`self` : | a GDataPicasaWebUser
Returns : | the feed's user, or `NULL`

Since 0.6.0

### gdata_picasaweb_user_get_nickname ()

    const gchar *       gdata_picasaweb_user_get_nickname   (GDataPicasaWebUser *self);

Gets the "nickname" property.

`self` : | a GDataPicasaWebUser
Returns : | the nickname of the feed's user's nickname, or `NULL`

Since 0.6.0

### gdata_picasaweb_user_get_quota_limit ()

    gint64              gdata_picasaweb_user_get_quota_limit
                                                            (GDataPicasaWebUser *self);

Gets the "quota-limit" property. Note that this information is not available when accessing feeds which we haven't authenticated, and `0` is returned.

`self` : | a GDataPicasaWebUser
Returns : | the maximum capacity in bytes for this feed's account, or `-1`

Since 0.6.0

### gdata_picasaweb_user_get_quota_current ()

    gint64              gdata_picasaweb_user_get_quota_current
                                                            (GDataPicasaWebUser *self);

Gets the "quota-current" property. Note that this information is not available when accessing feeds which we haven't authenticated, and `0` is returned.

`self` : | a GDataPicasaWebUser
Returns : | the current number of bytes in use by this feed's account, or `-1`

Since 0.6.0

### gdata_picasaweb_user_get_max_photos_per_album ()

    gint                gdata_picasaweb_user_get_max_photos_per_album
                                                            (GDataPicasaWebUser *self);

Gets the "max-photos-per-album" property. Note that this information is not available when accessing feeds which we haven't authenticated, and `0` is returned.

`self` : | a GDataPicasaWebUser
Returns : | the maximum number of photos an album for this account can hold, or `-1`

Since 0.6.0

### gdata_picasaweb_user_get_thumbnail_uri ()

    const gchar *       gdata_picasaweb_user_get_thumbnail_uri
                                                            (GDataPicasaWebUser *self);

Gets the "thumbnail-uri" property.

`self` : | a GDataPicasaWebUser
Returns : | the URI for the thumbnail of the account, or `NULL`

Since 0.6.0

## Property Details

### The `"max-photos-per-album"` property

      "max-photos-per-album"     gint                  : Read

The maximum number of photos allowed in an album. http://code.google.com/apis/picasaweb/docs/2.0/reference.htmlgphoto_maxPhotosPerAlbum

If the GDataPicasaWebUser does not represent the currently authenticated user, this will be `-1`.

Allowed values: >= G_MAXULONG

Default value: -1

Since 0.6.0

### The `"nickname"` property

      "nickname"                 gchar*                : Read

The user's nickname. This is a user-specified value that should be used when referring to the user by name. http://code.google.com/apis/picasaweb/docs/2.0/reference.htmlgphoto_nickname

Default value: NULL

Since 0.6.0

### The `"quota-current"` property

      "quota-current"            gint64                : Read

The current amount of space, in bytes, already used by the user. http://code.google.com/apis/picasaweb/docs/2.0/reference.htmlgphoto_quotacurrent

If the GDataPicasaWebUser does not represent the currently authenticated user, this will be `-1`.

Allowed values: >= -1

Default value: -1

Since 0.6.0

### The `"quota-limit"` property

      "quota-limit"              gint64                : Read

The total amount of space, in bytes, available to the user. http://code.google.com/apis/picasaweb/docs/2.0/reference.htmlgphoto_quotalimit

If the GDataPicasaWebUser does not represent the currently authenticated user, this will be `-1`.

Allowed values: >= -1

Default value: -1

Since 0.6.0

### The `"thumbnail-uri"` property

      "thumbnail-uri"            gchar*                : Read

The URI of a thumbnail-sized portrait of the user. http://code.google.com/apis/picasaweb/docs/2.0/reference.htmlgphoto_thumbnail

Default value: NULL

Since 0.6.0

### The `"user"` property

      "user"                     gchar*                : Read

The username of the user, as seen in feed URLs. http://code.google.com/apis/picasaweb/docs/2.0/reference.htmlgphoto_user

Default value: NULL

Since 0.6.0