I am trying to design a custom list form wherein the forms shown will depend on the type of user. My intention is to have several web parts to cater for the different types of user. I plan to load only the web part that should be accessed by specific user so that it will be optimal.
I have tried using the SPLimitedWebPartManager class to add the web part in. But each time I load, the web part keeps on adding the same web part over and over again.
Is there a way the only upon loading the webpart will be displayed but not added?