Click or drag to resize
TwitterAccountInfoProviderGetTwitterAccountInfo Method (String, SiteInfoIdentifier)
Retrieves a Twitter account with the specified identifier, and returns it.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 13.0.131
Syntax
C#
public static TwitterAccountInfo GetTwitterAccountInfo(
	string codeName,
	SiteInfoIdentifier siteId
)

Parameters

codeName
Type: SystemString
Twitter account code name.
siteId
Type: CMS.DataEngineSiteInfoIdentifier
ID of the site the account is for.

Return Value

Type: TwitterAccountInfo
A Twitter account with the specified identifier, if found; otherwise, null.
See Also