IProjectServiceDeleteUserProject Method |
Deletes the user project associated with the specified account, if it exists.
Namespace:
Dundas.BI.FileSystem
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
Syntaxbool DeleteUserProject(
Guid accountId
)
Function DeleteUserProject (
accountId As Guid
) As Boolean
bool DeleteUserProject(
Guid accountId
)
abstract DeleteUserProject :
accountId : Guid -> bool
Parameters
- accountId
- Type: SystemGuid
The ID of the account whose user project should be deleted.
Return Value
Type:
Boolean if the user project existed before this method was called; otherwise,
.
Exceptions| Exception | Condition |
|---|
| ArgumentException | accountId is Empty. |
| NoPrivilegeException | The caller is not a system or tenant administrator for the tenant associated with the account. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also