public static void WriteSettings(string affiliateApplication, Hashtable ht) { settings inSettings = new settings(); foreach (object key in ht.Keys) { property prop = new property(); prop.name = key.ToString(); prop.Value = (string)ht[key]; inSettings.propertyCollection.Add(prop); } StringBuilder sb = new StringBuilder(); StringWriter writer = new StringWriter(sb); XmlSerializer serializer = new XmlSerializer(typeof(settings)); serializer.Serialize(writer, inSettings); SSOHelper.SaveConfigInfo(affiliateApplication, sb.ToString()); }
public static void WriteRawSettings(string affiliateApplication, string settingsXml) { SSOHelper.SaveConfigInfo(affiliateApplication, settingsXml); }
public static string GetRawSettings(string affiliateApplication, bool enableRemoteAccess) { return(SSOHelper.GetConfigInfo(affiliateApplication, enableRemoteAccess)); }
public static bool AppExists(string appName) { return(SSOHelper.AppExists(appName)); }
public static void DeleteApp(string appName) { SSOHelper.DeleteApp(appName); }
public static void CreateApp(string appName, string userGroup, string adminGroup) { SSOHelper.CreateApp(appName, userGroup, adminGroup); }
internal static void DeleteApp(string appName) { SSOHelper.DeleteApp(appName); }