【发布时间】:2010-10-14 02:11:29
【问题描述】:
我的意思是,我现在正在使用 System.DirectoryServices.AccountManagement,如果我使用 UserPrincipal 类,我只会看到名称、中间名等
所以在我的代码中是这样的
UserPrincipal myUser = new UserPrincipal(pc);
myUser.Name = "aaaaaa";
myUser.SamAccountName = "aaaaaaa";
.
.
.
.
myUser.Save();
如何查看 mobile 或 info 等属性?
【问题讨论】:
标签: c# active-directory directoryservices