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

Namespace: CMS.Community
Assembly: CMS.Community (in CMS.Community.dll) Version: 10.0.0
Syntax
C#
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: String
Returns error message if this method failed. Otherwise return empty string.
See Also