GroupInfoProviderCopyGroupDocument Method |
Creates group pages for specified group.
Namespace: CMS.CommunityAssembly: CMS.Community (in CMS.Community.dll) Version: 11.0.0
Syntax public static string CopyGroupDocument(
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