UPDATE a user by user id.
UPDATE a user by username.
|
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
|
Id |
int? |
Either Id or Username is required. |
否 |
||
|
Lookupusername |
string |
Either Id or Lookupusername is required. |
否 |
||
|
Username |
string |
Required if changing the username. |
否 |
||
|
User |
RestUser |
The submission of a complete user node is deprecated, will be removed and should not be used for new development. Instead supply user properties for the request properties (Bio, DisplayName, etc.). |
否 |
||
|
OldPassword |
string |
Required if changing the password. |
否 |
||
|
NewPassword |
string |
New Password |
否 |
||
|
PrivateEmail |
string |
Private Email |
否 |
||
|
DisplayName |
string |
Display Name |
否 |
||
|
AllowSitePartnersToContact |
bool? |
Allow Site Partners To Contact |
否 |
||
|
AllowSiteToContact |
bool? |
Allow Site To Contact |
否 |
||
|
Bio |
string |
Bio |
否 |
||
|
Birthday |
DateTime? |
Birthday |
否 |
||
|
IsBirthdaySet |
bool? |
Is Birthday Set |
否 |
||
|
ConversationContactType |
string |
Types of users who can start conversations with you. Options are: None, FriendsOnly, AllUsers. |
否 |
||
|
DateFormat |
string |
Date Format |
否 |
||
|
EditorType |
string |
Editor Type |
否 |
||
|
EnableCommentNotifications |
bool? |
Enable Comment Notifications |
否 |
||
|
EnableConversationNotifications |
bool? |
Enable Conversation Notifications |
否 |
||
|
EnableDisplayInMemberList |
bool? |
Enable Display In Member List |
否 |
||
|
EnableDisplayName |
bool? |
Enable Display Name |
否 |
||
|
EnableEmoticons |
bool? |
Enable Emoticons |
否 |
||
|
EnableFavoriteSharing |
bool? |
Enable Favorite Sharing |
否 |
||
|
ReceiveEmails |
bool? |
Receive Emails |
否 |
||
|
EnableHtmlEmail |
bool? |
Enable Html Email |
否 |
||
|
EnableTracking |
bool? |
Enable Tracking |
否 |
||
|
EnableUserSignatures |
bool? |
Enable User Signatures |
否 |
||
|
Gender |
Gender? |
Gender |
否 |
||
|
Language |
string |
Language |
否 |
||
|
Location |
string |
Location |
否 |
||
|
PublicEmail |
string |
Public Email |
否 |
||
|
Signature |
string |
Signature |
否 |
||
|
TimeZone |
double? |
Time Zone |
否 |
||
|
TimeZoneId |
string |
Time Zone Id |
否 |
||
|
WebUrl |
string |
Web Url |
否 |
||
|
AccountStatus |
string |
Options are: ApprovalPending, Approved, Banned, Disapproved, All |
否 |
||
|
ProfileFields |
RestProfileFields |
Profile Fields |
否 |
||
|
ExtendedAttributes |
RestExtendedAttributes |
Extended Attributes |
否 |
||
|
RssFeeds |
string |
A comma delimited list of RSS feeds |
否 |
||
|
EnabledActivityMessageTypes |
string |
A comma delimited list of enabled activity message types |
否 |
||
|
ModerationLevel |
string |
Options are: Unmoderated, Moderated |
否 |