MOSS Forum

 
Home » Forum » MOSS       Ask a questionRSS Feeds

Is MOSS API available for adding user under 'Central Administration

  Asked By: Dianna Bridges         Date: Jul 12, 2008      Category: MOSS      Views: 200
 

Is MOSS API available for adding user permission under 'Central
Administration > Application Management > Policy for Web Application'.

Tagged:                    

 

1 Answer Found

 
Answer #1       Answered By: Yahaira Shannon          Answered On: Jul 12, 2008       

The SPWebApplication object has a Policies property containing a collection of
SPPolicy objects that represent the web  Application Policies. You can find an
explanation including sample code for adding  a policy  here:

msdn.microsoft.com/.../...oint.administration.sppo\
licycollection.aspx

Once you've got the collection it operates the same as adding custom security to
an object, but uses slightly different classes.

 


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