IAzureADManagement.SetMSOLicense Method (String, MSOLicense[])

 

Assigns a license to a Microsoft online account.

Namespace:   Microsoft.WindowsServerSolutions.WebApi.Management
Assembly:  Wssg.WebApi.AzureADManagement (in Wssg.WebApi.AzureADManagement.dll)

Syntax

[OperationContractAttribute]
[WebInvokeAttribute(UriTemplate = "msoLicense/set?localUserName={localUserName}", 
    Method = "POST")]
void SetMSOLicense(
    string localUserName,
    MSOLicense[] licenses
)
[OperationContractAttribute]
[WebInvokeAttribute(UriTemplate = "msoLicense/set?localUserName={localUserName}", 
    Method = "POST")]
void SetMSOLicense(
    String^ localUserName,
    array<MSOLicense^>^ licenses
)
<OperationContractAttribute>
<WebInvokeAttribute(UriTemplate := "msoLicense/set?localUserName={localUserName}",
    Method := "POST")>
Sub SetMSOLicense (
    localUserName As String,
    licenses As MSOLicense()
)

Parameters

  • localUserName
    Type: System.String

    The user name of the local user account that is mapped to the Microsoft online account.

  • licenses
    Type: Microsoft.WindowsServerSolutions.AzureADObjectModel.MSOLicense[]

    An array of MSOLicense objects that contain the license types that can be assigned to the Microsoft online account.

See Also

IAzureADManagement Interface
Microsoft.WindowsServerSolutions.WebApi.Management Namespace

Return to top