 Rank: Enthusiast
Joined: 4/11/2008 Posts: 36 Location: Ottawa Canada
|
Hey Everyone,
Quick question, I have a ascx control bound to the content node in the umbraco admin center. This control needs to get the current umbraco user id and passs it around internally.
How can I get this via the umbraco class libraries?
Much appreciated.
Cheers Keith
|
 Rank: Umbracoholic
Joined: 9/27/2007 Posts: 1,022 Location: Belgium
|
Need this: Code:UmbracoEnsuredPage bp = new UmbracoEnsuredPage(); User u = bp.getUser(); Hope that helps. /Dirk
level 1 certified - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
|
 Rank: Enthusiast
Joined: 4/11/2008 Posts: 36 Location: Ottawa Canada
|
Thanks that did the trick. UmbracoEnsuredPage!! Why didn't I think of that! It's so obvious!!!
Cheers Keith
|