Skip to content

Requests

Usually in plugins, we want to perform Dataverse operations as the user who initiated the plugin. However, sometimes we need to use the SYSTEM user or a different user.

The IDataverseServiceFactory interface makes it easier to get a reference to the IDataverseService which corresponds to the user you need.

For example, the GetAdminService() method will use an IOrganizationService which is the "admin" service. Or you can use the GetUserService() to get one for the initiating user of the plugin.