Populating User Object on creation (User.get)

9 views
Skip to first unread message

Gavin

unread,
Dec 11, 2014, 11:00:39 PM12/11/14
to jenkin...@googlegroups.com
Hey

I'm looking through the code for User.get("gavin", true) which will create the user if it doesn't already exist trying to find out if there's an extension point for populating a newly created user with values from an external source.

Is there any extension point I'm missing for populating a user on creation?

Gavin

Jesse Glick

unread,
Dec 12, 2014, 12:00:24 PM12/12/14
to Jenkins Dev
On Thu, Dec 11, 2014 at 11:00 PM, Gavin <hal...@gmail.com> wrote:
> I'm looking through the code for User.get("gavin", true) which will create
> the user if it doesn't already exist trying to find out if there's an
> extension point for populating a newly created user with values from an
> external source.

http://javadoc.jenkins-ci.org/hudson/model/UserPropertyDescriptor.html#newInstance(hudson.model.User)
Reply all
Reply to author
Forward
0 new messages