Click or drag to resize

IContentFreezeStateChange Method


Changes the end time and allowed user for the content freeze state. Only administrators specified as allowed users can do this.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
void Change(
	IUserSession session,
	DateTime startTime,
	Nullable<DateTime> newEndingTime,
	IEnumerable<string> newAllowedUserIds,
	IEnumerable<string> newAllowedGroupIds,
	string message = ""
)

Parameters

session
Type: Ingeniux.CMSIUserSession
The session that will perform this change
startTime
Type: SystemDateTime

[Missing <param name="startTime"/> documentation for "M:Ingeniux.CMS.IContentFreezeState.Change(Ingeniux.CMS.IUserSession,System.DateTime,System.Nullable{System.DateTime},System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String},System.String)"]

newEndingTime
Type: SystemNullableDateTime
New end time of content freeze; if null, the freeze never ends
newAllowedUserIds
Type: System.Collections.GenericIEnumerableString
Users allowed to open sessions
newAllowedGroupIds
Type: System.Collections.GenericIEnumerableString

[Missing <param name="newAllowedGroupIds"/> documentation for "M:Ingeniux.CMS.IContentFreezeState.Change(Ingeniux.CMS.IUserSession,System.DateTime,System.Nullable{System.DateTime},System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String},System.String)"]

message (Optional)
Type: SystemString
The message of the content freeze (optional)
See Also