Class PersonProperties

Represents user properties.

Hierarchy

Index

Methods

Methods

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public fromJson(initValue: any)

Parameters

  • initValue: any

public get_accountName(): string

Specifies the person's account name

Returns

string

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_directReports(): Array<string>

Specifies an array of strings containing the account names of a person's direct reports.

Returns

Array<string>

public get_displayName(): string

Specifies the person's name.

Returns

string

public get_email(): string

Specifies the person's email address.

Returns

string

public get_extendedManagers(): Array<string>

Specifies an array of strings that specify the account names of a person's managers.

Returns

Array<string>

public get_extendedReports(): Array<string>

Specifies an array of strings that specify the account names of person's extended reports.

Returns

Array<string>

public get_isFollowed(): boolean

Represents whether or not the current user is following this person.

Returns

boolean

public get_latestPost(): string

Specifies the person's latest microblog post.

Returns

string

public get_objectVersion(): string

Returns

string

public get_path(): ObjectPath

Returns

ObjectPath

public get_peers(): Array<string>

Specifies an array of strings that specify the account names of person's peers, that is, those who have the same manager.

Returns

Array<string>

public get_personalUrl(): string

Specifies the absolute URL of the person's personal page.

Returns

string

public get_pictureUrl(): string

Specifies the URL for the person's profile picture.

Returns

string

public get_serverObjectIsNull(): boolean

Returns

boolean

public get_title(): string

Specifies the person's title.

Returns

string

public get_typedObject(): ClientObject

Returns

ClientObject

public get_userProfileProperties(): { [name: string]: string; }

Represents all user profile properties including custom. The privacy settings affect which properties can be retrieved. Multiple values are delimited by the vertical bar "|". Null values are specified as empty strings.

Returns

{ [name: string]: string; }

public get_userUrl(): string

Specifies the URL for the person's profile.

Returns

string

public isObjectPropertyInstantiated(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public isPropertyAvailable(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public refreshLoad()

public retrieve()

public retrieve(propertyNames: Array<string>)

Parameters

  • propertyNames: Array<string>

public set_objectVersion(value: string)

Parameters

  • value: string