更改 [英] Change
问题描述
你好...
$
我告诉你:
使用以下代码我只能得到全名。
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
Imports System.DirectoryServices.AccountManagement
Dim userFullName As String = UserPrincipal.Current.DisplayName
但是我还想更改Windows 7中的完整用户名。
有没有办法进行此操作?
首先,谢谢。
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.
推荐答案
您好Jencarlos,
Hi Jencarlos,
根据您的描述,您想要通过vb.net更改用户名,你可以参考一个线程:
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
希望对您有所帮助。
最好的问候,
Cherry
这篇关于更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!