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.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax public static BaseInfo GetEmptyObjectWithSiteID(
string objectType,
int siteId
)
Parameters
- objectType
- Type: SystemString
Object type - siteId
- Type: SystemInt32
Site ID
Return Value
Type:
BaseInfoSee Also