Click or drag to resize
TwitterAccountInfoProviderGetTwitterAccountInfoInternal 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: 9.0.0
Syntax
C#
protected virtual TwitterAccountInfo GetTwitterAccountInfoInternal(
	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