If you have any doubt in the post please post comments. I will try to solve your problem.
public void Execute(IServiceProvider serviceProvider)
{
// Obtain the execution context from the service provider.
// Obtain the execution context from the service provider.
//Extract the tracing service for use in debugging sandboxed plug-ins.
IPluginExecutionContext context =
(IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext));
var CurrentUserId = context.InitiatingUserId;
}
public void Execute(IServiceProvider serviceProvider)
{
// Obtain the execution context from the service provider.
// Obtain the execution context from the service provider.
//Extract the tracing service for use in debugging sandboxed plug-ins.
IPluginExecutionContext context =
(IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext));
var CurrentUserId = context.InitiatingUserId;
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.