LinkedInHelperGetUserCompanies Method |
Gets all companies administrated by the user that ownes given access token.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax public static List<LinkedInCompany> GetUserCompanies(
string consumerKey,
string consumerSecret,
string accessToken,
string accessTokenSecret
)
Parameters
- consumerKey
- Type: SystemString
Application API key. - consumerSecret
- Type: SystemString
Application API secret. - accessToken
- Type: SystemString
User's access token. - accessTokenSecret
- Type: SystemString
User's access token secret.
Return Value
Type:
ListLinkedInCompanyReturns list of administrated companies or null if something went wrong.
Exceptions See Also