Hi Guys,
How can I get the "username" of the current user that is log in into Dynamic Web? So I can Hide text boxes from others than Administrator.
in other words:
In the MyModule_Edit.aspx.cs how can I get the current username?
:)
Hi Guys,
How can I get the "username" of the current user that is log in into Dynamic Web? So I can Hide text boxes from others than Administrator.
in other words:
In the MyModule_Edit.aspx.cs how can I get the current username?
:)
bra@communikanten.dk wrote:
Hi Guys,
How can I get the "username" of the current user that is log in into Dynamic Web? So I can Hide text boxes from others than Administrator.
in other words:
In the MyModule_Edit.aspx.cs how can I get the current username?
:)
Dim
usr As Dynamicweb.Backend.User = Dynamicweb.Backend.User.CurrentIf usr.Type < 4 Then 'Its an administrator
mange tak Nicolai :)
You must be logged in to post in the forum