Class ClarifySession
Inheritance
System.Object
ClarifySession
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: fcSDK.dll
Syntax
public class ClarifySession : FCSession, IDisposable
Constructors
ClarifySession()
Declaration
protected ClarifySession()
ClarifySession(Guid)
Declaration
protected ClarifySession(Guid sessionId)
Parameters
Type |
Name |
Description |
System.Guid |
sessionId |
|
Properties
ConfigItems
Declaration
public ClarifyConfigItemCollection ConfigItems { get; }
Property Value
LoginType
Declaration
public ClarifyLoginType LoginType { get; }
Property Value
Methods
Declaration
public static bool AuthenticateContact(string username, string password)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
password |
|
Returns
Type |
Description |
System.Boolean |
|
ChangeUserConfigItem(String, Double)
Declaration
public void ChangeUserConfigItem(string configItemName, double newValue)
Parameters
Type |
Name |
Description |
System.String |
configItemName |
|
System.Double |
newValue |
|
ChangeUserConfigItem(String, Int32)
Declaration
public void ChangeUserConfigItem(string configItemName, int newValue)
Parameters
Type |
Name |
Description |
System.String |
configItemName |
|
System.Int32 |
newValue |
|
ChangeUserConfigItem(String, String)
Declaration
public void ChangeUserConfigItem(string configItemName, string newValue)
Parameters
Type |
Name |
Description |
System.String |
configItemName |
|
System.String |
newValue |
|
Declaration
protected string FormatNumScheme(string schemeFormat, int nextVal, bool padded, int valWidth)
Parameters
Type |
Name |
Description |
System.String |
schemeFormat |
|
System.Int32 |
nextVal |
|
System.Boolean |
padded |
|
System.Int32 |
valWidth |
|
Returns
Type |
Description |
System.String |
|
GetNextNumScheme(String)
Declaration
public string GetNextNumScheme(string schemeName)
Parameters
Type |
Name |
Description |
System.String |
schemeName |
|
Returns
Type |
Description |
System.String |
|
GetNextNumScheme(String, IDbTransaction)
Declaration
public string GetNextNumScheme(string schemeName, IDbTransaction trans)
Parameters
Type |
Name |
Description |
System.String |
schemeName |
|
System.Data.IDbTransaction |
trans |
|
Returns
Type |
Description |
System.String |
|
GetRestrictionGroupForUser(Object)
Declaration
protected override RestrictionGroup GetRestrictionGroupForUser(object userID)
Parameters
Type |
Name |
Description |
System.Object |
userID |
|
Returns
Overrides
GetUserConfigItem(String, String)
Declaration
protected ClarifyConfigItem GetUserConfigItem(string loginName, string configItemName)
Parameters
Type |
Name |
Description |
System.String |
loginName |
|
System.String |
configItemName |
|
Returns
GetUserConfigItems(String)
Declaration
protected ConfigItemCollection GetUserConfigItems(string loginName)
Parameters
Type |
Name |
Description |
System.String |
loginName |
|
Returns
Declaration
protected override void PerformChangePassword(string username, string newPassword, int loginType)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
newPassword |
|
System.Int32 |
loginType |
|
Overrides
Declaration
protected override RestrictionGroup PerformChangeResGroup(string newGroupName, bool saveChanges)
Parameters
Type |
Name |
Description |
System.String |
newGroupName |
|
System.Boolean |
saveChanges |
|
Returns
Overrides
Declaration
protected override DateTime PerformConvertDate(DateTime date, ITimeZone fromTZ, ITimeZone toTZ)
Parameters
Returns
Type |
Description |
System.DateTime |
|
Overrides
Declaration
protected override DateTime PerformConvertDate(DateTime date, string fromTZName, string toTZName)
Parameters
Type |
Name |
Description |
System.DateTime |
date |
|
System.String |
fromTZName |
|
System.String |
toTZName |
|
Returns
Type |
Description |
System.DateTime |
|
Overrides
Declaration
protected override object PerformLogin(string inUsername, int inLoginType)
Parameters
Type |
Name |
Description |
System.String |
inUsername |
|
System.Int32 |
inLoginType |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Declaration
protected override object PerformLogin(string inUsername, string password)
Parameters
Type |
Name |
Description |
System.String |
inUsername |
|
System.String |
password |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Declaration
protected override object PerformLogin(string inUsername, string password, int inLoginType)
Parameters
Type |
Name |
Description |
System.String |
inUsername |
|
System.String |
password |
|
System.Int32 |
inLoginType |
|
Returns
Type |
Description |
System.Object |
|
Overrides
PerformRefreshContext()
Declaration
protected override void PerformRefreshContext()
Overrides
Declaration
protected override void PerformSetPassword(string username, string newPassword, int loginType)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
newPassword |
|
System.Int32 |
loginType |
|
Overrides
Declaration
public static void SetContactUserPassword(string username, string newPassword)
Parameters
Type |
Name |
Description |
System.String |
username |
|
System.String |
newPassword |
|
SetupSessionData(FCSessionData)
Declaration
protected override void SetupSessionData(FCSessionData data)
Parameters
Overrides
UpdateLastLogin(String)
Declaration
protected override void UpdateLastLogin(string username)
Parameters
Type |
Name |
Description |
System.String |
username |
|
Overrides
Explicit Interface Implementations
IDisposable.Dispose()
Declaration
void IDisposable.Dispose()
Implements
System.IDisposable