A Sandcastle Documented Class Library

# IGroupService DeleteGroup 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void DeleteGroup(
    	Guid id
    )

    Sub DeleteGroup (
    	id As Guid
    )

    void DeleteGroup(
    	Guid id
    )

    abstract DeleteGroup :
            id : Guid -> unit

#### Parameters

id
  Type: System
  Guid
  The ID of the group to delete.

Exceptions

Exception | Condition
--- | ---
ArgumentException | id is Empty.
NotFoundException | The group with the specified ID does not exist.
NotSupportedException | The 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 and System Administrators 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.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IGroupService Interface
Dundas.BI.AccountServices Namespace