Deletes all Users for a Portal
Namespace: DotNetNuke.Entities.UsersAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static void DeleteUsers( int portalId, bool notify, bool deleteAdmin ) |
Visual Basic |
---|
Public Shared Sub DeleteUsers ( portalId As Integer, notify As Boolean, deleteAdmin As Boolean ) |
Parameters
- portalId
- Type: System..::..Int32
The Id of the Portal
- notify
- Type: System..::..Boolean
A flag that indicates whether an email notification should be sent
- deleteAdmin
- Type: System..::..Boolean
A flag that indicates whether the Portal Administrator should be deleted