forked from daggen/XrmToolBox-Plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Plugin.cs
22 lines (21 loc) · 6.72 KB
/
Plugin.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.ComponentModel.Composition;
using XrmToolBox.Extensibility;
using XrmToolBox.Extensibility.Interfaces;
namespace Daggen.SecurityRole
{
[Export(typeof(IXrmToolBoxPlugin)),
ExportMetadata("BackgroundColor", "white"),
ExportMetadata("PrimaryFontColor", "black"),
ExportMetadata("SecondaryFontColor", "LightGray"),
ExportMetadata("SmallImageBase64", "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC45bDN+TgAABBZJREFUWEe9l99Pk1cYxw2dE2fcHEzn3HYzXTLjhS67MMuybBebF8u2zOxqF243S3YjmEVNDCl9C9gKAq8dRdoXWktFhDLKj9aX9oVCCwUs0MRt6sS/5ut5Drylb9/zQs1YT/JNmuac53z6Pc/znNM9ykgG3sHUrqqb6VZYcylKfu+enUZnKIHrvomy1OQdhdP7p0nN3VHTXJc/hj8GZtTNbaxHuQAtt8dw7P0PUL3/NZM++exruJW4aY3LPwnPXS26rRMvA3D47XfBlph0+uyXQgASd+KuZu3E/w1AIifkfgsnKgFAIohb/QInKgVAIojOUicqCUDaOI7klhNlA/SM4fiHJ1FTU2PS5199S0HRcUfluhl4gNbeGN+sRRCLOxFKbjhRPsA47FITJEkyyOFwwNcbQjb/HAtr61zzq8+4ZpaeYFRbYWefYOuN8Qji19+b1ZcCaJSa4XQ6TfL39RsARBpJ5HBDiRlitgUSqBgASc08YrkyWYjZGpiqLACJnNBj7hqA3OVHdDqPqLaGePoRMivPhJuTKDfk0BSPWQCghHCz8+FZy8rNLg/iqjvAP5cDYG9p59lOc0hk85D6UAhAikzl2LxNgFZlAt//9BvOfvENTn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Users, Team and Security Role Report"),
ExportMetadata("Description", "View User's and Team's Security Roles")]
public class Plugin : PluginBase
{
public override IXrmToolBoxPluginControl GetControl()
{
return new Controller();
}
}
}