found this out string _store = ""; _store = UserWorkUrl; Editor1.SetSecurity("Gallery", "*", "StoragePath", _store);
string _store = "";
_store = UserWorkUrl;
Editor1.SetSecurity("Gallery"