Gets all companies administrated by the user that ownes given access token.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)
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 LinkedInCompanyReturns list of administrated companies.
Exceptions
Exception | Condition |
---|---|
CMS.SocialMarketing LinkedInApiUnauthorizedException | Thrown when protocol error occurs because the request is not authorized properly. |
CMS.SocialMarketing LinkedInApiThrottleLimitException | Thrown when protocol error occurs because the limit of API requests was overdrown. |
CMS.SocialMarketing LinkedInApiException | Thrown when protocol error occurs. |
System Exception | Thrown when unexpected error occures. |
See Also