Reputation: 7979
It is possible to retrieve (somehow) dashboard owners from Advanced Find (UI) or database or maybe through API?
Upvotes: 2
Views: 2107
Reputation: 41
If you want to query the database instead, you can do so by querying the view called "Userform". The name of the dasboard is in the name column.
Best Regards
Stig
Upvotes: 4
Reputation: 66
By code using API:
QueryExpression q = new QueryExpression(UserForm.EntityLogicalName);
FilterExpression f = new FilterExpression(LogicalOperator.And);
ConditionExpression c = new ConditionExpression("name", ConditionOperator.Equal, dashboardName);
f.AddCondition(c);
q.ColumnSet = new ColumnSet("ownerid");
q.Criteria = f;
EntityCollection ec = service.RetrieveMultiple(q);
It's not possible using Advanced Find.
Upvotes: 2