:doc:`ServiceCatalog <../../servicecatalog>` / Client / list_portfolio_access

*********************
list_portfolio_access
*********************



.. py:method:: ServiceCatalog.Client.list_portfolio_access(**kwargs)

  

  Lists the account IDs that have access to the specified portfolio.

   

  A delegated admin can list the accounts that have access to the shared portfolio. Note that if a delegated admin is de-registered, they can no longer perform this operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess>`_  


  **Request Syntax**
  ::

    response = client.list_portfolio_access(
        AcceptLanguage='string',
        PortfolioId='string',
        OrganizationParentId='string',
        PageToken='string',
        PageSize=123
    )
    
  :type AcceptLanguage: string
  :param AcceptLanguage: 

    The language code.

     

    
    * ``jp`` - Japanese
     
    * ``zh`` - Chinese
    

    

  
  :type PortfolioId: string
  :param PortfolioId: **[REQUIRED]** 

    The portfolio identifier.

    

  
  :type OrganizationParentId: string
  :param OrganizationParentId: 

    The ID of an organization node the portfolio is shared with. All children of this node with an inherited portfolio share will be returned.

    

  
  :type PageToken: string
  :param PageToken: 

    The page token for the next set of results. To retrieve the first set of results, use null.

    

  
  :type PageSize: integer
  :param PageSize: 

    The maximum number of items to return with this call.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'AccountIds': [
              'string',
          ],
          'NextPageToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AccountIds** *(list) --* 

        Information about the Amazon Web Services accounts with access to the portfolio.

        
        

        - *(string) --* 
    
      

      - **NextPageToken** *(string) --* 

        The page token to use to retrieve the next set of results. If there are no additional results, this value is null.

        
  
  **Exceptions**
  
  *   :py:class:`ServiceCatalog.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ServiceCatalog.Client.exceptions.InvalidParametersException`

  