Class UserProfilePropertiesForUser

Represents a set of user profile properties for a specified user.

Hierarchy

Index

Constructor methods

Methods

Constructor methods

constructor(context: ClientContext, accountName: string, propertyNames: Array<string>): UserProfilePropertiesForUser

Creates new UserProfilePropertiesForUser object

Parameters

  • context: ClientContext

    Specifies the client context to use.

  • accountName: string

    Specifies the user by account name.

  • propertyNames: Array<string>

    Specifies an array of strings that specify the properties to retrieve.

Returns

UserProfilePropertiesForUser

Methods

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public fromJson(initValue: any)

Parameters

  • initValue: any

public getPropertyNames(): Array<string>

Gets an array of strings that specify the user profile property names.

Returns

Array<string>

public get_accountName(): string

Specifies the user account name

Returns

string

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_objectVersion(): string

Returns

string

public get_path(): ObjectPath

Returns

ObjectPath

public get_serverObjectIsNull(): boolean

Returns

boolean

public get_typedObject(): ClientObject

Returns

ClientObject

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_accountName(value: string): string

Specifies the user account name

Parameters

  • value: string

Returns

string

public set_objectVersion(value: string)

Parameters

  • value: string