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

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax
C#
public static LinkedInAccountInfo GetLinkedInAccountInfo(
	string codeName,
	SiteInfoIdentifier siteId
)

Parameters

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

Return Value

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