User

Contains user information

User
{
    string LoginName,
    string DisplayName,
    string FirstName,
    string LastName,
    string PrimaryEmail,
    File BioPhoto,
    string Bio,
    int Views,
    int GalleryCount,
    int CollectionCount,
    int PhotoCount,
    long PhotoBytes,
    int RawFileCount,             // new in version 1.8
    long RawFileBytes,            // new in version 1.8
    DateTime UserSince,
    DateTime LastUpdated,
    Address PublicAddress,
    Address PersonalAddress,
    PhotoSet[] RecentPhotoSets,
    PhotoSet[] FeaturedPhotoSets,
    Group RootGroup,
    string ReferralCode,
    DateTime ExpiresOn,
    decimal Balance,
    string DomainName,
    long StorageQuota,
    long PhotoBytesQuota,
    long VideoBytesQuota,          // new in version 1.6
    int VideoDurationQuota,        // new in version 1.6
    int HierarchyCn,               // new in version 1.4
    string HomepageUrl,            // new in version 1.8
    bool RawStorageOptedIn,        // new in version 1.8
    string RawStorageOptInUrl      // new in version 1.8
}

Members

LoginName
Login name (also known as "user name") of the user
DisplayName
User's self-assigned display name
FirstName
User's first name
LastName
User's last name
PrimaryEmail
Primary email address. Loaded only as part of the private profile.
BioPhoto
User's bio photo, null if none is set
Bio
User's personal description
Views
Number of visitors to user's photos. This attribute is subject to access control.
GalleryCount
Number of galleries this user has. This attribute is subject to access control.
CollectionCount
Number of collections this user has. This attribute is subject to access control.
PhotoCount
Number of photos this user has. This attribute is subject to access control.
PhotoBytes
Number of bytes used by original photos of this user. This attribute is subject to access control.
RawFileCount
Number of Raw files this user has. This attribute is only available as part of the private profile.
This field is new in API version 1.8.
RawFileBytes
Number of bytes used by Raw files of this user. This attribute is only available as part of the private profile.
This field is new in API version 1.8.
UserSince
The date and time when the user has joined Zenfolio.
LastUpdated
The date and time when the user made the most recent update.
PublicAddress
Public address of the user.
PersonalAddress
Personal address of the user.
RecentPhotoSets
Array of photosets recently added by this user.
FeaturedPhotoSets
Array of photosets, in their display order, featured by this user.
RootGroup
User's root photoset group.
ReferralCode
User's referral code.
ExpiresOn
The date and time user's account will expire unless renewed. This field returns a date before year 1900 for accounts that do not expire.
Balance
Current user's account balance
DomainName
User's custom domain name, if any
StorageQuota
User's storage quota, shows the maximum number of bytes all user's photos can occupy. This field is only loaded as part of the private profile.
PhotoBytesQuota
Specifies the maximum file size of a single photo the user can upload. This field is only loaded as part of the private profile.
VideoBytesQuota
Specifies the maximum file size of a single video the user can upload. This field is only loaded as part of the private profile.
VideoDurationQuota
Specifies the longest duration, in seconds, of a single video the user can upload. This field is only loaded as part of the private profile.
HierarchyCn
This field contains a number that is incremented each time user's group hierarchy changes. This value is useful for caching LoadGroupHierarchy responses (see Caching Information for more details).
HomepageUrl
Returns the complete URL to the user's home page. This field returns a correct URL for users who have not configured a custom domain, users who have configured a custom domain, as well as users who have selected an external page as their home page URL.
This field is new in API version 1.8.
RawStorageOptedIn
Indicates whether the user has opted in for Raw storage.
This field is new in API version 1.8.
RawStorageOptInUrl
Specifies the URL to which the user should be navigated to opt-in for Raw storage.
This field is new in API version 1.8.

Index