Click or drag to resize
GroupInfoProvider.CopyGroupDocument Method
Creates group pages for specified group.

Namespace: CMS.Community
Assembly: CMS.Community (in CMS.Community.dll) Version: 12.0.0
Syntax
C#
public static string CopyGroupDocument(
	GroupInfo gi,
	string sourcePath,
	string targetPath,
	string groupProfileURLPath,
	string culture,
	bool combineWithDefaultCulture,
	UserInfo user,
	RoleInfo ri
)

Parameters

gi
Type: CMS.Community.GroupInfo
Group info object
sourcePath
Type: System.String
Source template path
targetPath
Type: System.String
Target template path
groupProfileURLPath
Type: System.String
URL path to group profile. Macro {groupname} is automatically resolved to current group
culture
Type: System.String
Document culture
combineWithDefaultCulture
Type: System.Boolean
Combine with default culture
user
Type: CMS.Membership.UserInfo
User info
ri
Type: CMS.Membership.RoleInfo
Role info

Return Value

Type: String
Returns error message if this method failed. Otherwise return empty string.
See Also