Share via


MSOLicense.AccountName Property

Gets the name of the Microsoft account that belongs to the owner of the license.

Namespace: Microsoft.WindowsServerSolutions.AzureADIntegration
Assembly: Wssg.AzureAD.Objects (in Wssg.AzureAD.Objects.dll)

Usage

'Usage
Dim instance As MSOLicense
Dim value As String

value = instance.AccountName

instance.AccountName = value

Syntax

'Declaration
<DataMemberAttribute> _
Public Property AccountName As String
[DataMemberAttribute] 
public string AccountName { get; set; }
[DataMemberAttribute] 
public:
property String^ AccountName {
    String^ get ();
    void set (String^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public String get_AccountName ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_AccountName (String value)
CompilerGeneratedAttribute 
public function get AccountName () : String

CompilerGeneratedAttribute 
public function set AccountName (value : String)

Property Value

Returns String.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 7 x32, Windows 7 x64, Windows Server 2008 R2 x64, Windows Server 2012 x64, Windows Server 2012 R2 x64

Target Platforms

Windows Server 2012 R2 x64, Windows Server 2012 R2 Essentials

See Also

Reference

MSOLicense Class
MSOLicense Members
Microsoft.WindowsServerSolutions.AzureADIntegration Namespace

Copyright © 2013 by Microsoft Corporation. All rights reserved.