GroupInfoProviderCopyGroupDocumentInternal Method |
Creates group pages for specified group.
Namespace: CMS.CommunityAssembly: CMS.Community (in CMS.Community.dll) Version: 12.0.0
Syntax protected string CopyGroupDocumentInternal(
GroupInfo gi,
string sourcePath,
string targetPath,
string groupProfileURLPath,
string culture,
bool combineWithDefaultCulture,
UserInfo user,
RoleInfo ri
)
Parameters
- gi
- Type: CMS.CommunityGroupInfo
Group info object - sourcePath
- Type: SystemString
Source template path - targetPath
- Type: SystemString
Target template path - groupProfileURLPath
- Type: SystemString
URL path to group profile. Macro {groupname} is automatically resolved to current group - culture
- Type: SystemString
Document culture - combineWithDefaultCulture
- Type: SystemBoolean
Combine with default culture - user
- Type: CMS.MembershipUserInfo
User info - ri
- Type: CMS.MembershipRoleInfo
Role info
Return Value
Type:
StringReturns error message if this method failed. Otherwise return empty string.
See Also