Click or drag to resize
LinkedInHelperGetUserCompaniesInternal Method
Gets all companies administrated by the user that ownes given access token.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
protected List<LinkedInCompany> GetUserCompaniesInternal(
	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: ListLinkedInCompany
Returns list of administrated companies.
Exceptions
ExceptionCondition
LinkedInApiUnauthorizedExceptionThrown when protocol error occurs because the request is not authorized properly.
LinkedInApiThrottleLimitExceptionThrown when protocol error occurs because the limit of API requests was overdrown.
LinkedInApiExceptionThrown when protocol error occurs.
ExceptionThrown when unexpected error occures.
See Also