Hi,
While browsing found this wonderful articl, do check it
http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx
Bye..
Hi,
While browsing found this wonderful articl, do check it
http://blogs.msdn.com/crm/archive/2008/03/07/developing-plug-ins-for-crm-4-0.aspx
Bye..
Customer Relationship Mgt App for the Professional
Learn about Microsoft Dynamics CRM Power Platform customization and implementation and other cool stuffs
I know pre-stroke. I will improve who I was.
Balu Gajjala
Power Melange By Shalinee
Power Automate - Power Apps - SharePoint Online - Azure - Nintex - K2 - Artificial Intelligence
An Inquiry in Being
The Influencers & Influences of Indian Music
Hand's-free money management
A closer look at Microsoft Dynamics 365.
Experienced consultant primarily focused on Microsoft Dynamics 365 and the Power Platform
Specific topics by Django Lohn on the whole Microsoft365 Stack
One Stop Destination for Microsoft Technology Solutions
Naturally Curious
Prasanna Vadlamudi
Power Platform and Dynamics 365
A Microsoft Business Applications MVP
Bass defines your home theater
SQL Server tips and experiences dedicated to my twin daughters.
Discovering Azure DevOps and D365 Business Applications
Lets do IT Spells
ฤeskรฝ jiลetรญn
Valuable Tips To Grow Your Business
Russ Parry REALTORยฎ
Power Platform & Dynamics CRM
Mail to crmtipsbyprm@gmail.com for queries and suggestions
Giving back to the community what I have learned
Learn and Share
Dynamics CRM Technical & Functional Info
Sometimes you need to look at things from different perspective.
Dynamics 365 Customer Engagement, CRM, Microsoft CRM, Dynamics CRM
Step into the world of a Dynamics 365 Consultant
Diana & Dynamics 365 & Power Platform
No Code Customization Concepts
developer, designer, writer, fun loving, patriotic, humble and a sweet person inside out :) love and respect people who have a great sense of humor.
Dreaming to be a clean coder and TDD minded programmer.
We blog about problems we face and code we write to help others
Hi Nishant,
I Need one help.
To register a plug- in, a user should be a part of deployment admin group right?
I want the list of users who has been added in deployment administrators group. Is it possible through webservice? If so what request should be made to retrieve it?
Thanks,
Krutika
LikeLike
For deployment manager we do have a web service in CRM 4 i.e. CrmDeploymentService.
But it seems that there are no request classes in it which could fetch us the name of all the deployment administrators.
It has got request classes which provide information about the organizations.
But i am still looking into it !!!
Let’s hope there is someway of finding that out ๐
And could i know why you need that informaion?
LikeLike
The functionlity is registering and unregistering the plug-in through code. So when user click on register/ unregister a plug-in , I need to check whether the user is there in deployment administrator’s group. if he is not a part of that group then do not allow to go ahead with the process.
I checked on net and found a blog which says systemuser table in MSCRM_CONFIG db stores the info. and when I checked there the name field remains filled if the user is there in deployment admin group. One solution is to check the name field empty for that user but I think its not a good solution as to direct access the config DB and second the logic is not good .. that might be pos. that the value in the name field may get filled/ use for some other purpose.
LikeLike
I was just checking the same i.e. systemuser table in mscrm_config.
So when a user clicks on register/unregister button you need to check if the user is a deployment administrator or not.
One solution like you said would be to check against the systemuser table.
Other option would be to let the user click on it and if he isnโt the deployment administrator an exception would be raised, which you could catch and provide appropriate message, just like plugin registration tool.
LikeLike
Thanks Nishant. I also need the same functionality in the starting of the installer. So if user is not there in D.A. group then dont allow him to proceed further. This time I think the above idea wont work. because after taking the credentials we will register the product and that time only the above logic will work.. but I need it before that..
LikeLike