http://javadoc.jenkins-ci.org/jenkins/model/Jenkins.html#getSecurity() (and the other related methods) may help you in this regard.
/James On Friday, 8 March 2013 17:08:34 UTC, Frank wrote: > > Posting on the user groups hasn't been helpful, I suspect folks here are > wiser on the Jenkins Internals. > > From Groovy Console, I would like to ask: > > > 1. Is security Enabled > 2. If so what kind? > 3. The expected answer is "Project Based" . . . in which case I want > to loop through the configured LDAP entries to get the user/group name(s) > and the permissions associated with each entry. > > > Basically, I need to be able to "audit" the security settings . . . > changing is not required . . . just looking. > > I suspect this is all relatively easy, I just have no ideas what classes > to try to call into. > > Frank > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
