How can I get the registered user name when the result AuthenticationService.isLoggedIn()is true?
AuthenticationService.isLoggedIn()
Thanks.
Normally I would find WCF security information from ServiceSecurityContext.Current. Try ServiceSecurityContext.Current.PrimaryIdentity
Have you tried looking at Thead.CurrentPrincipal?
ServiceSecurityContext.Current.WindowsIdentity.Name
WebContext.Current.Authentication?
WebContext.Current.Authentication
Source: https://habr.com/ru/post/1704255/More articles:Can Flex / Flash record a screen? - flexSetting the AVAudioPlayer volume to the user's ringer volume? - iphoneto write a batch file to delete folders by date and time - scriptingNetbeans 6.5: Change runtime environment variable / debug / test? - javaRecording using Flex / Flash - flexHow to write a batch file to delete folders and files in time? - scriptingHow do you handle a variable number of MVC routes? - asp.net-mvcДолжны ли "системные данные" быть в базе данных? - databasehow to combine fixed height header with flexible page layout - javascriptHow to create a batch script package that will delete a folder on a schedule? - windowsAll Articles