Adding user to an application role.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Adding user to an application role.

Kathleen McFadden


 I am attempting to add a user to a role using the COM+ CA..

Below is  the code I am using. I have omitted the other elements to install a component as I can get  all to work except the user.

Anyone know how to do this successfully?

Solutions greatly appreciated.


<Component Id="PhsWebMenu" Guid="12345678-1234-1234-1234-123456789012">

             <File Id="MyComDll" Name="MyComDll.dll" DiskId="1" src="C:\DllLocation\myComponent.dll" />


                             <pca:ComPlusApplication Id="MyComPlusApplication"                                                                                                                                                                                       Name="MYApp"                                                

                    ApplicationAccessChecksEnabled="yes"                                                                                                                                                                                                                                                                                                                                                                                      AccessChecksLevel="applicationComponentLevel"  


                                      Authentication ="packet"  >

                                     <pca:ComPlusApplicationRole  Id="ComRole"  Name ="MyComApp">


                                      <pca:ComPlusUserInApplicationRole  Id="UComp" User ="userid" /> 







This e-mail transmission contains confidential information that is the property of the sender. If you are not the intended recipient, you are notified that any retention, disclosure, reproduction or distribution of the contents of this e-mail transmission, or the taking of any action in reliance thereon or pursuant thereto, is strictly prohibited. No warranty is given by NYSIF that this e-mail is free of viruses, interception or interference. NYSIF disclaims liability for any unauthorized opinion, representation, statement, offer or contract made by the sender on behalf of NYSIF. NYSIF's delegation of authorities, setting out who may make representations or contract on behalf of NYSIF, is available by contacting NYSIF at [hidden email]. Jurisdiction for all actions arising out of dealings with NYSIF shall lie only in a court of competent jurisdiction of the State of New York.