LinkedInHelperGetUserCompaniesInternal Method |
Gets all companies administrated by the user that owns given access token.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 13.0.131
Syntax protected List<LinkedInCompany> GetUserCompaniesInternal(
string accessToken
)
Parameters
- accessToken
- Type: SystemString
User's access token.
Return Value
Type:
ListLinkedInCompanyReturns list of administrated companies.
Exceptions Exception | Condition |
---|
LinkedInApiUnauthorizedException | Thrown when protocol error occurs because the request is not authorized properly. |
LinkedInApiThrottleLimitException | Thrown when protocol error occurs because the limit of API requests was overdrawn. |
LinkedInApiException | Thrown when protocol error occurs. |
InvalidOperationException | Thrown when unexpected error occurs. |
ProtocolViolationException | When request was not issued correctly. |
See Also