I was just wondering if the API for GetUsersInGroup is stable, as it's output seems more likely to be used for console printing rather than to be used programatically. Most user related methods under the Permission library use user ids, I'm not understanding why this one uses this weird string concatenation output that needs to be parsed after being called.
[LibraryFunction("GetUsersInGroup")]
public string[] GetUsersInGroup(string group)
{
string lower = group;
if (!this.GroupExists(lower))
{
return new string[0];
}
lower = lower.ToLower();
return (
from u in this.userdata
where u.Value.Groups.Contains(lower)
select string.Concat(u.Key, " (", u.Value.LastSeenNickname, ")")).ToArray<string>();
}