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..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.
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..
Subscribe to get the latest posts sent to your email.
D365 CRM, Power Platform Tips &Tricks
Power Spark By Shrangarika
Exploration of Power Platform
It is my experience timeline.
Sharing my knowledge and experience about the Microsoft Power Platform.
a guide to powering up community
Sponsored by Cloud Formations Ltd
Deriving Solutions and features on Power Platform/Dynamics 365
Thoughts & musings from a Microsoft Business Applications Ninja!
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
AI - 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
One Stop Destination for Microsoft Technology Solutions
Naturally Curious
Prasanna Vadlamudi
Power Platform and Dynamics 365
The Professional Paraphraser
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
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
Your Go-To Resource for Power Apps, Power Automate & More
Dynamics CRM Technical & Functional Info
Sometimes you need to look at things from different perspective.
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