Table of Contents

Class MeRequestBuilder

Namespace
Autodesk.ACC.Issues.Projects.Item.Users.Me
Assembly
Autodesk.ACC.Issues.dll

Builds and executes requests for operations under \projects{projectId}\users\me

public class MeRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
MeRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.UrlTemplate

Constructors

MeRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new MeRequestBuilder and sets the default values.

public MeRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)

Parameters

pathParameters Dictionary<string, object>

Path parameters for the request

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

MeRequestBuilder(string, IRequestAdapter)

Instantiates a new MeRequestBuilder and sets the default values.

public MeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)

Parameters

rawUrl string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

Methods

GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Returns the current user permissions.Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. Currently, you can only retrieve users that are associated with an account <https://forge.autodesk.com/en/docs/acc/v1/reference/http/users-GET/>_. We will be supporting retrieving project users by companies in the near future.You can verify a user's assignment permissions by checking the permittedActions or permissionLevels attributes.This operation is available to everyone... include:: ../../../../_snippets/not-backward-compatible.rst

public Task<UsersMeDefinition?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<UsersMeDefinition>

A UsersMeDefinition

Exceptions

ErrorResponseDefinition

When receiving a 400 status code

ErrorResponseDefinition

When receiving a 404 status code

ErrorResponseDefinition

When receiving a 500 status code

ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)

Returns the current user permissions.Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. Currently, you can only retrieve users that are associated with an account <https://forge.autodesk.com/en/docs/acc/v1/reference/http/users-GET/>_. We will be supporting retrieving project users by companies in the near future.You can verify a user's assignment permissions by checking the permittedActions or permissionLevels attributes.This operation is available to everyone... include:: ../../../../_snippets/not-backward-compatible.rst

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

WithUrl(string)

Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.

public MeRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

MeRequestBuilder

A MeRequestBuilder