Get nETBIOSName from a UserPrincipal object

后端 未结 5 1444
-上瘾入骨i
-上瘾入骨i 2021-01-02 01:13

I am using the System.DirectoryServices.AccountManagement part of the .Net library to interface into ActiveDirectory.

Having called GetMembers() on a GroupPrincipal

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-02 01:52

    Have you tried passing the fully qualified domain name to this other app? Most windows API's won't complain if you do fully_qualified_domain\USER.

提交回复
热议问题