GroupInfoProviderDeleteGroupInfoInternal Method |
Deletes specified group including related document if needed.
The related document is only the one specified in GroupNodeGUID.
All documents that are owned by group are kept - their group ownership is set to null.
Namespace: CMS.CommunityAssembly: CMS.Community (in CMS.Community.dll) Version: 10.0.0
Syntaxprotected void DeleteGroupInfoInternal(
GroupInfo infoObj,
bool deleteRelatedDocument
)
Parameters
- infoObj
- Type: CMS.CommunityGroupInfo
Group object - deleteRelatedDocument
- Type: SystemBoolean
If true related document is deleted too
See Also