Click or drag to resize
LinkedInHelper.GetUserCompaniesInternal 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: System.String
Application API key.
consumerSecret
Type: System.String
Application API secret.
accessToken
Type: System.String
User's access token.
accessTokenSecret
Type: System.String
User's access token secret.

Return Value

Type: List<LinkedInCompany>
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