Click here to Skip to main content
15,791,098 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

We are using an application that receive windows user name from SAP through XML web services and it display records based on user name. Currently we are facing a issue with Upper Case and Lower Case SP 2013 only accept lower case as the code below (user.name).
VB
Dim netBIOSname As String = Me.Request.LogonUserIdentity.NameDim sAMAccountName As String = netBIOSname.Substring(netBIOSname.LastIndexOf("\"c) + 1)txtmanager.Text = sAMAccountName

In SAP all user name is in different case. We would like SP 2013 to receive any case either Upper case or Lower Case

It was working fine in SP 2010.

Thanks to all
Posted
Updated 1-Dec-15 21:22pm
v2
Comments
DanielBrownAU 2-Dec-15 17:47pm    
What in SharePoint are you using the username for? to filter a view? CAML Query? etc? Can you show where you are using it and the code for it?

Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900