Click or drag to resize
UniGridFunctionsGetEmptyObjectWithSiteID Method
Gets empty object with specified site ID. Usable to correct check permissions. Site ID is set from UIContext or use current site from SiteContext.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 10.0.0
Syntax
C#
public static BaseInfo GetEmptyObjectWithSiteID(
	string objectType,
	int siteId
)

Parameters

objectType
Type: SystemString
Object type
siteId
Type: SystemInt32
Site ID

Return Value

Type: BaseInfo
See Also