ClarifySession Class Members
The following tables list the members exposed by ClarifySession.
Public Properties
| | Name | Description | | --- | --- | --- | | | ConfigItems | | | | ConvertTimeZone | Sets whether or not any DateTimes will be translated to and from ServerTimeZone and LocalTimeZone. Default value is false. (Inherited from FChoice.Foundation.FCSession) | | | CreationTime | Timestamp when the session was created. (Inherited from FChoice.Foundation.FCSession) | | | CurrentCulture | Returns the Culture being used by the session. (Inherited from FChoice.Foundation.FCSession) | | | DataRestrictionsEnabled | (Inherited from FChoice.Foundation.FCSession) | | | DefaultCulture | Returns the default Culture being used by the session. (Inherited from FChoice.Foundation.FCSession) | | | DefaultDistinctGenerics | Sets whether or not newly created generic objects will have IsDistinct set to include all relation data fields during Queries.
(Inherited from FChoice.Foundation.FCSession) | | | DisableDataConversions | Sets whether data conversions happen when GenericDataRow fields are modified. (Inherited from FChoice.Foundation.FCSession) | | | IncludeRelations | Sets whether or not newly created generic objects will include all relation data fields during Queries. (Inherited from FChoice.Foundation.FCSession) | | | Item | Get or set session data indexed by specified key. (Inherited from FChoice.Foundation.FCSession) | | | Items | (Inherited from FChoice.Foundation.FCSession) | | | LastLoadTime | Timestamp when the session was last loaded via FCApplication.GetSession (Inherited from FChoice.Foundation.FCSession) | | | LocalTimeZone | The TimeZone being used by the session. (Inherited from FChoice.Foundation.FCSession) | | | Log | Returns a Logger useful for logging application events or errors to the logging system. (Inherited from FChoice.Foundation.FCSession) | | | LoginType | | | | MaximumRows | (Inherited from FChoice.Foundation.FCSession) | | | PasswordRequired | Gets whether or not a password was used when CreateSession was called. (Inherited from FChoice.Foundation.FCSession) | | | QueryEmptyToNull |
Sets whether or not new newly created generic objects convert filters on empty strings into filters on Queries that check Is NULL or IS NOT NULL.
(Inherited from FChoice.Foundation.FCSession) | | | RestrictionGroup | Returns the data restriction group being used by the session. (Inherited from FChoice.Foundation.FCSession) | | | SessionData | (Inherited from FChoice.Foundation.FCSession) | | | SessionID |
Returns the session's unique identifier.
(Inherited from FChoice.Foundation.FCSession) | | | SetNullStringsToEmpty | Sets whether or not newly created generic objects will convert a null reference (Nothing in Visual Basic) to empty strings. (Inherited from FChoice.Foundation.FCSession) | | | TruncateStringFields | Sets whether or not newly created generic objects will truncate string fields if they are too long. (Inherited from FChoice.Foundation.FCSession) | | | UserID | Returns the unique identifier for the session's logged-in user. (Inherited from FChoice.Foundation.FCSession) | | | UserName | Returns the login name for the session's logged-in user. (Inherited from FChoice.Foundation.FCSession) |
Public Methods
| | Name | Description | | --- | --- | --- | | | AuthenticateContact | | | | ChangePassword | Change the password for the session user. (Inherited from FChoice.Foundation.FCSession) | | | ChangeRestrictionGroup | Changes the RestrictionGroup the session is currently using. The change can be made permanent. (Inherited from FChoice.Foundation.FCSession) | | | ChangeUserConfigItem | Overloaded. | | | CloseSession | Remove the session from FCApplication and any Licenses it may be holding. (Inherited from FChoice.Foundation.FCSession) | | | ConvertDate | Overloaded. Converts a DateTime from one TimeZone to another. (Inherited from FChoice.Foundation.FCSession) | | | ConvertFromLocalToServerDate | Converts a DateTime from the session timezone to the server timezone. (Inherited from FChoice.Foundation.FCSession) | | | ConvertFromServerToLocalDate | Converts a DateTime from the server timezone to the session timezone.
(Inherited from FChoice.Foundation.FCSession) | | | Dispose | (Inherited from FChoice.Foundation.FCSession) | | | FormatElapsedTime | Overloaded. Formats an numeric value in seconds into a string "DDD HH MMM" where: D=Days, H=Hours, M=Minutes (Inherited from FChoice.Foundation.FCSession) | | | GetAssignedPermissions | (Inherited from FChoice.Foundation.FCSession) | | | GetCurrentDate | Retrieves the DateTime of the CRM database. (Inherited from FChoice.Foundation.FCSession) | | | GetCurrentServerDate | Retrieves the DateTime of the CRM database. (Inherited from FChoice.Foundation.FCSession) | | | GetNextNumScheme | Overloaded. | | | HasPermission | (Inherited from FChoice.Foundation.FCSession) | | | RefreshContext | Refresh the session information for the logged-in user. (Inherited from FChoice.Foundation.FCSession) | | | RegisterLicenseRequirements | (Inherited from FChoice.Foundation.FCSession) | | | SaveSession | (Inherited from FChoice.Foundation.FCSession) | | | SetContactUserPassword | | | | SetPassword | Change a user's password (Inherited from FChoice.Foundation.FCSession) |