Identity.AccountName Property
Gets or sets the account name of an identity.
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation (in Microsoft.TeamFoundation.dll)
Syntax
'Declaration
Public Property AccountName As String
'Usage
Dim instance As Identity
Dim value As String
value = instance.AccountName
instance.AccountName = value
public string AccountName { get; set; }
public:
property String^ AccountName {
String^ get ();
void set (String^ value);
}
public function get AccountName () : String
public function set AccountName (value : String)
Property Value
Type: System.String
A string value containing the account name of the identity.
Remarks
The account name is the logon name for Windows identities, and is always empty for application groups.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.