Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Is MOSS API available for adding user under 'Central Administration

  Asked By: Dianna    Date: Jul 12    Category: MOSS    Views: 1156

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

Share: 

 

1 Answer Found

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

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.

 




Tagged: