Fixed the collection of recipients on a public folder.

This commit is contained in:
robvde 2014-01-31 08:19:20 +04:00
parent 6abb5388c3
commit cf2bc946eb

View file

@ -4759,7 +4759,7 @@ namespace WebsitePanel.Providers.HostedSolution
foreach (PSObject obj in result) foreach (PSObject obj in result)
{ {
string userId = ObjToString(GetPSObjectProperty(obj, "User")); string userId = ObjToString(GetPSObjectProperty(obj, "User"));
if (userId == "Default" || userId == "Anonymous" || userId.StartsWith("NT User:") == true) if (userId == "Default" || userId == "Anonymous" || userId.StartsWith("NT:") == true)
continue; continue;
object rights = GetPSObjectProperty(obj, "AccessRights"); object rights = GetPSObjectProperty(obj, "AccessRights");