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,
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
}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 e-mail 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.
- 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).