F
Fred
Hello,
In the Form.Shown event (startup form), I set My.User.CurrentPrincipal
with a GenericPrincipal.
But My.User.CurrentPrincipal doesn't keep this information.
If I do the same in a Button click event on the form, it's OK.
Do you know why ?
In the Form.Shown event (startup form), I set My.User.CurrentPrincipal
with a GenericPrincipal.
But My.User.CurrentPrincipal doesn't keep this information.
If I do the same in a Button click event on the form, it's OK.
Do you know why ?