TwitterAccountInfoProviderGetTwitterAccountInfo Method (String, SiteInfoIdentifier) |
Retrieves a Twitter account with the specified identifier, and returns it.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax 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:
TwitterAccountInfoA Twitter account with the specified identifier, if found; otherwise, null.
See Also