Fix #141 preserve computer names for non-domain joined devices
This commit is contained in:
1 parent
974a07f3bb
commit
85d51c0e45
6 files changed
+44
-33
No files matched your search
@@ -19,7 +19,7 @@ namespace Disco.Services.Interop.ActiveDirectory
|
||||
|
||||
public string DistinguishedName { get; private set; }
|
||||
public SecurityIdentifier SecurityIdentifier { get; private set; }
|
||||
public string Id { get { return string.Format(@"{0}\{1}", Domain.NetBiosName, SamAccountName); } }
|
||||
public string Id { get { return $@"{Domain.NetBiosName}\{SamAccountName}"; } }
|
||||
|
||||
public string SamAccountName { get; private set; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user