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 = ""
)
Sub Change (
session As IUserSession,
startTime As DateTime,
newEndingTime As Nullable(Of DateTime),
newAllowedUserIds As IEnumerable(Of String),
newAllowedGroupIds As IEnumerable(Of String),
Optional message As String = ""
)
void Change(
IUserSession^ session,
DateTime startTime,
Nullable<DateTime> newEndingTime,
IEnumerable<String^>^ newAllowedUserIds,
IEnumerable<String^>^ newAllowedGroupIds,
String^ message = L""
)
abstract Change :
session : IUserSession *
startTime : DateTime *
newEndingTime : Nullable<DateTime> *
newAllowedUserIds : IEnumerable<string> *
newAllowedGroupIds : IEnumerable<string> *
?message : string
(* Defaults:
let _message = defaultArg message ""
*)
-> unit
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