Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Others
cms.evaluation
cms.general
comm.businessdesk
comm.campaigns_csf
comm.catalog
comm.datawarehousing
comm.deploy.
comm.general
comm.sdk
comm.solutionsites
comm.userprofilemgt
commerce.analysis
crm
crm.deployment
crm.developer
hiserver.general
mobility.miserver
sharep.portal.config
sharep.portal.dev
sharep.portal.docmgmt.
sharep.portal.installation
sharep.portal.sdk
sharep.portal.search
sharep.team.caml
sharep.teamservices
sharep.windowsservices
sharep.winservices.dev
sharepoint.portalserver
siteserv.knowledgemgr
siteserver.analysis
siteserver.commerce
siteserver.css
siteserver.general
siteserver.publishing
siteserver.sdk
siteserver.search
site-server.site-mgmt
site-server.webpost
  
 
date: Thu, 7 Aug 2008 11:05:53 +0800,    group: microsoft.public.crm.developer        back       


How to trigger Plugin when Enabling/Disabling User?   
Hi,

Would like to know whether it is possible to trigger a plugin when enabling 
or disabling a User. Can't figure out I should register my plugin to which 
event. Look like the User Entity do not support the SetState Event, and i 
tried to subscribe to the Update Event, but the plugin just not firing.

Hope that someone can give some guidance.

Thanks
date: Thu, 7 Aug 2008 11:05:53 +0800   author:   Thalia Mei

Re: How to trigger Plugin when Enabling/Disabling User?   
Hi

Why do you want to do that? We disabled it from security perspective as user 
disabling restricts to keys licensed in CRM.

-- 
Thanks
AjithG [MSFT]
http://code.msdn.microsoft.com/crmplugin
http://code.msdn.microsoft.com/crmpluginsamples
This posting is provided "AS IS" with no warranties, and confers no rights.

"Thalia Mei"  wrote in message 
news:33D3F93A-A82A-4356-8EB2-881DDBB292E3@microsoft.com...
> Hi,
>
> Would like to know whether it is possible to trigger a plugin when 
> enabling or disabling a User. Can't figure out I should register my plugin 
> to which event. Look like the User Entity do not support the SetState 
> Event, and i tried to subscribe to the Update Event, but the plugin just 
> not firing.
>
> Hope that someone can give some guidance.
>
> Thanks
>
date: Thu, 7 Aug 2008 13:31:31 -0700   author:   Ajith [MSFT]

Re: How to trigger Plugin when Enabling/Disabling User?   
The objective of the plugin is to make sure enabling/disabling User are 
Audited. The plugin will be creating an audit record (Customized Entity - 
Audit) that run under Administrator credential.

An user can be enable/disbale several times, so the Audit Trails is very 
important.

Thanks



"Ajith [MSFT]"  wrote in message 
news:OzEnUyM%23IHA.1228@TK2MSFTNGP02.phx.gbl...
> Hi
>
> Why do you want to do that? We disabled it from security perspective as 
> user disabling restricts to keys licensed in CRM.
>
> -- 
> Thanks
> AjithG [MSFT]
> http://code.msdn.microsoft.com/crmplugin
> http://code.msdn.microsoft.com/crmpluginsamples
> This posting is provided "AS IS" with no warranties, and confers no 
> rights.
>
> "Thalia Mei"  wrote in message 
> news:33D3F93A-A82A-4356-8EB2-881DDBB292E3@microsoft.com...
>> Hi,
>>
>> Would like to know whether it is possible to trigger a plugin when 
>> enabling or disabling a User. Can't figure out I should register my 
>> plugin to which event. Look like the User Entity do not support the 
>> SetState Event, and i tried to subscribe to the Update Event, but the 
>> plugin just not firing.
>>
>> Hope that someone can give some guidance.
>>
>> Thanks
>>
>
>
date: Fri, 8 Aug 2008 09:34:24 +0800   author:   Thalia Mei

Re: How to trigger Plugin when Enabling/Disabling User?   
You can register on Update on Child pipeline to catch that.

-- 
Thanks
AjithG [MSFT]
http://code.msdn.microsoft.com/crmplugin
http://code.msdn.microsoft.com/crmpluginsamples
This posting is provided "AS IS" with no warranties, and confers no rights.

"Thalia Mei"  wrote in message 
news:32D2D2FB-2082-4184-9013-66D9FE289979@microsoft.com...
> The objective of the plugin is to make sure enabling/disabling User are 
> Audited. The plugin will be creating an audit record (Customized Entity - 
> Audit) that run under Administrator credential.
>
> An user can be enable/disbale several times, so the Audit Trails is very 
> important.
>
> Thanks
>
>
>
> "Ajith [MSFT]"  wrote in message 
> news:OzEnUyM%23IHA.1228@TK2MSFTNGP02.phx.gbl...
>> Hi
>>
>> Why do you want to do that? We disabled it from security perspective as 
>> user disabling restricts to keys licensed in CRM.
>>
>> -- 
>> Thanks
>> AjithG [MSFT]
>> http://code.msdn.microsoft.com/crmplugin
>> http://code.msdn.microsoft.com/crmpluginsamples
>> This posting is provided "AS IS" with no warranties, and confers no 
>> rights.
>>
>> "Thalia Mei"  wrote in message 
>> news:33D3F93A-A82A-4356-8EB2-881DDBB292E3@microsoft.com...
>>> Hi,
>>>
>>> Would like to know whether it is possible to trigger a plugin when 
>>> enabling or disabling a User. Can't figure out I should register my 
>>> plugin to which event. Look like the User Entity do not support the 
>>> SetState Event, and i tried to subscribe to the Update Event, but the 
>>> plugin just not firing.
>>>
>>> Hope that someone can give some guidance.
>>>
>>> Thanks
>>>
>>
>>
>
date: Tue, 12 Aug 2008 13:25:57 -0700   author:   Ajith [MSFT]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us