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: 9.0.0
Syntaxpublic 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