Category: Code
This area of the site is dedicated to code snippets for quick and easy reference
Unlock Ektron User Account(s)
Should you ever lock out your own account and you have SQL access try this Should you ever need to unlock all accounts, not sure why, but you can try this if you have SQL access
User Registration – Check Username Availability
This is a simple example of how to check for the existence of a username prior to letting someone select a username.
Token String
This PHP function will assist in splitting a string based on characters. Source: http://www.php.net/manual/en/function.strtok.php
Get file metadata
Create a project and add text box with a name of txtFileDetails and make it multi-line to run the code below.
MSSQL DateTime Conversions
Sometimes a basic function like MSSQL Format Date Function can not work as you do not have permission to create a function or you simply need something quick. To get day of week from DateTime column and order it by the proper day of week order. This is rather easy…
Clear Form Field Inputs
Reference: http://stackoverflow.com/questions/4872364/clearing-all-fields-in-an-asp-net-form