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

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 10.0.0
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 overdrawn.
LinkedInApiExceptionThrown when protocol error occurs.
ExceptionThrown when unexpected error occurs.
See Also