Methods



accountStatus

Abstract: Obtain the account status of the receiver. This property is blank if the receiver has normal active status. Other possible values are are "deleted", "suspended", and "purged".
- (NSString *)accountStatus; 


accountType

Abstract: Obtain the account type of the receiver.
- (NSString *)accountType; 

This property is blank if the receiver represents a regular user account. If the receiver is a community, this will return the string "community".


backgroundColor

Abstract: Obtain the background color of the receiver.
- (NSColor *)backgroundColor; 


backgroundColorForYou

- (NSColor *)backgroundColorForYou; 

Result: The color this friend uses for your background.

birthDate

Abstract: Obtain the birthdate of the receiver.
- (NSCalendarDate *)birthDate; 


foregroundColor

Abstract: Obtain the foreground color of the receiver.
- (NSColor *)foregroundColor; 


foregroundColorForYou

- (NSColor *)foregroundColorForYou; 

Result: The color this friend uses for your foreground.

friendship

Abstract: Returns the type of friendship for this friend.
- (int)friendship; 

Returns the direction of friendship with this user. If you list the receiver as a friend, the friendship is outgoing. If the receiver lists you as a friend, the friendship is incoming. If both cases are true, the friendship is mutual. The result is one of the Friendship constants defined in the LJFriend header.


fullname

Abstract: Obtain the full name of the receiver.
- (NSString *)fullname; 

Returns the receiver's full name, as reported by the server. If not available, this method returns the receiver's username.


modifiedDate

Abstract: Returns the receiver's modification date.
- (NSDate *)modifiedDate; 

This is the date that the receiver was most recently changed in some way. If this date is later than the last time the account's friends have been downloaded then its changes will be committed next time [LJAccount uploadFriends] is called.


recentEntriesHttpURL

Abstract: Returns the URL of the receiver's recent entries view.
- (NSURL *)recentEntriesHttpURL; 


setBackgroundColor:

Abstract: Sets the background color of the receiver.
- (void)setBackgroundColor:(NSColor *)bgColor; 


setForegroundColor:

Abstract: Sets the foreground color of the receiver.
- (void)setForegroundColor:(NSColor *)fgColor; 


userProfileHttpURL

Abstract: Returns the URL of the receiver's user profile page.
- (NSURL *)userProfileHttpURL; 


username

Abstract: Obtain the username of the receiver.
- (NSString *)username; 


(Last Updated 2/17/2003)