IGroupServiceDeleteGroup Method

Deletes the group with the specified ID.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
DeleteItemResult DeleteGroup(
	Guid id
)

Parameters

id
Type: SystemGuid
The ID of the group to delete.

Return Value

Type: DeleteItemResult
An object describing the result of the operation.
Exceptions
ExceptionCondition
ArgumentExceptionid is Empty.
NotFoundExceptionThe group with the specified ID does not exist.
NotSupportedExceptionThe underlying groups provider does not allow modifications to groups.
InvalidOperationException An attempt was made to delete a group which is managed by the application. This includes the Everyone, System Administrators and Global Users groups, as well as Project and Tenant administrator groups.
NoPrivilegeException

The caller does not have system administration privileges.

-or-

The group is associated with a project, and the caller does not have administration privileges for that project.

-or-

The group is associated with a tenant, and the caller does not have administration privileges for that tenant.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also