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: 12.0.0
Syntax
C#
protected List<LinkedInCompany> GetUserCompaniesInternal(
	string accessToken
)

Parameters

accessToken
Type: SystemString
User's access token.

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.
InvalidOperationExceptionThrown when unexpected error occurs.
See Also