Logo 
Search:

.Net Framework FAQ

Submit Interview FAQ
Home » Interview FAQ » .Net FrameworkRSS Feeds

Can I create my own permission set?

  Shared By: Willard Washington    Date: Feb 25    Category: .Net Framework    Views: 1460

Answer:

Yes. Use caspol -ap, specifying an XML file containing the permissions in the permission set. To save you some time, here is a sample file corresponding to the 'Everything' permission set - just edit to suit your needs. When you have edited the sample, add it to the range of available permission sets like this:

caspol -ap samplepermset.xml
Then, to apply the permission set to a code group, do something like this:

caspol -cg 1.3 SamplePermSet
(By default, 1.3 is the 'Internet' code group)

Share: 
 

Didn't find what you were looking for? Find more on Can I create my own permission set? Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: