ProjectController.GetMyProject Method |
Gets the user project for either the specified account or the user that is making the request.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpGetAttribute("User")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<ProjectData> GetMyProject(
Guid? accountId,
Guid? tenantId,
GetEntryOptions options,
Guid? sessionId = null
)
<HttpGetAttribute("User")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function GetMyProject (
accountId As Guid?,
tenantId As Guid?,
options As GetEntryOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of ProjectData)
public:
[HttpGetAttribute(L"User")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<ProjectData^>^ GetMyProject(
Nullable<Guid> accountId,
Nullable<Guid> tenantId,
GetEntryOptions options,
Nullable<Guid> sessionId = nullptr
)
[<HttpGetAttribute("User")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member GetMyProject :
accountId : Nullable<Guid> *
tenantId : Nullable<Guid> *
options : GetEntryOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<ProjectData>
Parameters
- accountId
- Type: System.Nullable<Guid>
The ID of the account associated with the user project to retrieve, or null to indicate the current user. - tenantId
- Type: System.Nullable<Guid>
The ID of the tenant associated with the user project. - options
- Type: Dundas.BI.FileSystem.GetEntryOptions
Options affecting the behavior of the operation. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session.
Return Value
Type:
ActionResult<ProjectData>The operation completed successfully. The payload contains a
ProjectData object.
See Also