Class SocialActorInfo

Identifies an actor to the server. An actor can be a user, document, site, or tag.

Hierarchy

Index

Methods

Methods

public customFromJson(obj: any): boolean

Parameters

  • obj: any

Returns

boolean

public customWriteToXml(writer: XmlWriter, serializationContext: SerializationContext): boolean

Parameters

Returns

boolean

public fromJson(obj: any)

Parameters

  • obj: any

public get_accountName(): string

User account name. This property is only available for social actors of type "user".

Returns

string

public get_actorType(): SocialActorType

Identifies whether the actor is a user, document, site, or tag.

Returns

SocialActorType

public get_contentUri(): string

URI of the document or site content. This property is only available for social actors of type Document or Site.

Returns

string

public get_id(): string

Actor's unique identifier.

Returns

string

public get_tagGuid(): string

GUID of the tag. Only available for social actors of type "tag"

Returns

string

public get_typeId(): string

Returns

string

public set_accountName(value: string): string

User account name. This property is only available for social actors of type "user".

Parameters

  • value: string

Returns

string

public set_actorType(value: SocialActorType): SocialActorType

Identifies whether the actor is a user, document, site, or tag.

Parameters

Returns

SocialActorType

public set_contentUri(value: string): string

URI of the document or site content. This property is only available for social actors of type Document or Site.

Parameters

  • value: string

Returns

string

public set_id(value: string): string

Actor's unique identifier.

Parameters

  • value: string

Returns

string

public set_tagGuid(value: string): string

GUID of the tag. Only available for social actors of type "tag"

Parameters

  • value: string

Returns

string

public writeToXml(writer: XmlWriter, serializationContext: SerializationContext)

Parameters