Returns the information needed to display the form for editing the "General" section of the current user's profile.

This method is needed because users.get will only return the relationship partner for statuses other than "in love" if both users have set each other as their partners. Future Smithereen versions may add more such fields, for example, names in different languages.

This method requires the following permissions: account.

Parameters

This method does not take any parameters.

Result

An object:

first_name
string

First name.

nickname
string

Nickname or middle name.

last_name
string

Last name.

maiden_name
string

Maiden name.

sex
enum

Preferred grammatical gender used to choose pronouns in strings that refer to the current user.

  • none – equivalent to "none selected" on the web
  • male – he/him
  • female – she/her
  • other – they/them
bdate
string

Birth date as DD.MM.YYYY.

hometown
string

Hometown.

relation
enum

Relationship status.

Possible values: none, single, in_relationship, engaged, married, in_love, complicated, actively_searching.

relation_partner
user

A user object representing the current user's relationship partner, if any.

Errors

Global errors may occur when calling this method.