none
Change RRS feed

  • Question

  • Hello...

    I tell you:
    with the following code I can only get the full name.

    Imports System.DirectoryServices.AccountManagement

    Dim userFullName As String = UserPrincipal.Current.DisplayName

    But I would also like to change the full user name in windows 7 ..
    Is there any way to do this operation?
    First of all, Thanks.

    Monday, October 2, 2017 4:47 PM

All replies

  • Hi Jencarlos,

    Based on your description, you want to change the user name by vb.net, there is one some thread that you can refer to:

    https://forums.asp.net/t/1748136.aspx?Change+User+Name+Account+Name

    Hope it is helpful to you.

    best regards,

    Cherry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Proposed as answer by Stanly Fan Friday, October 13, 2017 7:49 AM
    Tuesday, October 3, 2017 5:55 AM
    Moderator
  • Thank you.
    Thursday, October 5, 2017 5:30 PM
  • Hi Jencarlos,

    Have you solved your issue now? Anything update? If yes, please remember to close your thread by marking the helpful post as answer or you can share your solution here and marking it as answer, it is helpful to other community members who face the same issue.

    Thanks for your understanding.

    Best Regards,

    Cherry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, October 17, 2017 2:16 AM
    Moderator