NTAccount.Value Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a string representation of this NTAccount object.
public:
virtual property System::String ^ Value { System::String ^ get(); };
public override string Value { get; }
member this.Value : string
Public Overrides ReadOnly Property Value As String
Property Value
The string representation of this NTAccount object.
Remarks
When an Active Directory group name is translated from an SecurityIdentifier the pre-Windows 2000 name, which differs (for non builtin/wellknown accounts) from the name, is returned. To resolve the name for non built-in/well-known accounts use the FindByIdentity
method on the GroupPrincipal type. For well-known/built-in accounts this resolves the name in en-US locale no matter which locale the operating system is running.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om