鉴于 WindowsIdentity.GetCurrent()
返回的 IdentityReference
对象,我如何找到给定组的显示/友好名称?
最佳答案
identityReference.Translate(typeof(NTAccount)).Value
应该这样做。
关于c# - 如何获取 IdentityReference 对象的显示名称?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7005761/