A portfolio membership determines if a user is a member of a portfolio.
DeprecatedPortfolioMembershipCompact
Property | Type | Description |
---|---|---|
gid | string | Globally unique identifier of the resource, as a string. |
resource_type | string | The base type of this resource. |
portfolio | object | A portfolio gives a high-level overview of the status of multiple initiatives in Asana. Portfolios provide a dashboard overview of the state of multiple projects, including a progress report and the most recent project status update. Portfolios have some restrictions on size. Each portfolio has a max of 1500 items and, like projects, a max of 20 custom fields. |
portfolio.gid | string | Globally unique identifier of the resource, as a string. |
portfolio.resource_type | string | The base type of this resource. |
portfolio.name | string | The name of the portfolio. |
user | object | A user object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |
user.gid | string | Globally unique identifier of the resource, as a string. |
user.resource_type | string | The base type of this resource. |
user.name | string | Read-only except when same user as requester. The user’s name. |
access_level | string | Whether the member has admin, editor, or viewer access to the portfolio. Portfolios do not support commenter access yet. Values can be: admin , editor , viewer . |
Example JSON for DeprecatedPortfolioMembershipCompact
:
{
"gid": "12345",
"resource_type": "portfolio_membership",
"portfolio": {
"gid": "12345",
"resource_type": "portfolio",
"name": "Bug Portfolio"
},
"user": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"access_level": "admin"
}
DeprecatedPortfolioMembership
Property | Type | Description |
---|---|---|
gid | string | Globally unique identifier of the resource, as a string. |
resource_type | string | The base type of this resource. |
portfolio | object | A portfolio gives a high-level overview of the status of multiple initiatives in Asana. Portfolios provide a dashboard overview of the state of multiple projects, including a progress report and the most recent project status update. Portfolios have some restrictions on size. Each portfolio has a max of 1500 items and, like projects, a max of 20 custom fields. |
portfolio.gid | string | Globally unique identifier of the resource, as a string. |
portfolio.resource_type | string | The base type of this resource. |
portfolio.name | string | The name of the portfolio. |
user | object | A user object represents an account in Asana that can be given access to various workspaces, projects, and tasks. |
user.gid | string | Globally unique identifier of the resource, as a string. |
user.resource_type | string | The base type of this resource. |
user.name | string | Read-only except when same user as requester. The user’s name. |
access_level | string | Whether the member has admin, editor, or viewer access to the portfolio. Portfolios do not support commenter access yet. Values can be: admin , editor , viewer . |
Example JSON for DeprecatedPortfolioMembership
:
{
"gid": "12345",
"resource_type": "portfolio_membership",
"portfolio": {
"gid": "12345",
"resource_type": "portfolio",
"name": "Bug Portfolio"
},
"user": {
"gid": "12345",
"resource_type": "user",
"name": "Greg Sanchez"
},
"access_level": "admin"
}