When using forms-based authentication in Sharepoint 2010, suppose that the user is logged in with the username "admin" and that our membership provider name is "FBAProvider" ... After logging into this account, the username is displayed as "I: . 0 # | FBAProvider | admin ". How to make it display as it should look like "admin"?
Thanks in advance,
Mete
What code do you use to display the username?
SPContext.Current.Web.CurrentUser
SPUser . , , , ( , , "admin", "FBAProvider:: admin" ). , , .
, Email, LoginName Name
, , , , . NetworkSystem - LocalSystem, .
, ASP.
Source: https://habr.com/ru/post/1774102/More articles:C # Lua Parser / Analyzer - c #logic 4 table with editing options - htmlAdditional xmlns in xml created from xmlserializer - .netChange div content if screen resolution is less? - javascriptHow can I join these two tables? - sqlSelective permission to download files using Apache and PHP - file3D CAD viewer for embedding in a web page - .netCodeDom calls constructor - constructorКак преобразовать объект в представление JSON - javaJavascript for Java using JSON - javaAll Articles