WebCenter Interaction API  
 

IPTSession.SetSettings Method (Int32, Int32)

Set session-wide settings.

void SetSettings(
   int iSetting,
   int iValue
);

Parameters

iSetting
- The ID of the setting to set. Valid values are below from the PT_SESSION_SETTINGS enumeration: PT_SESSION_SETTINGS.PT_SESSION_CHARSET PT_SESSION_SETTINGS.PT_SESSION_NUMERICAUTH (set to 0 or 1 depending on whether numeric authentication is allowed or not) PT_SESSION_SETTINGS.PT_SESSION_AUTOASSIGNNUMERICAUTH (set to 0 or 1 depending on whether creating a new user will automatically generate a numeric username)
iValue
- The value to associate with the specified setting.

See Also

IPTSession Interface | com.plumtree.server Namespace | IPTSession.SetSettings Overload List