internal Dictionary<string, AbstractPermission> toUserSecurityKeys(string[] response)
{
if (response == null || response.Length == 0)
{
return null;
}
StringDictionary securityKeyFile = cxn.SystemFileHandler.getLookupTable(VistaConstants.SECURITY_KEY);
Dictionary<string, AbstractPermission> result = new Dictionary<string, AbstractPermission>(response.Length);
for (int i = 0; i < response.Length; i++)
{
string[] flds = StringUtils.split(response[i], StringUtils.CARET);
if (securityKeyFile.ContainsKey(flds[1]))
{
AbstractPermission key = new SecurityKey(flds[1], securityKeyFile[flds[1]], flds[0]);
result.Add(key.Name, key);
}
}
return result;
}