UserContract Constructors
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.
Overloads
UserContract() |
Initializes a new instance of the UserContract class. |
UserContract(String, String, String, String, String, IList<UserIdentityContract>, String, String, String, Nullable<DateTime>, IList<GroupContractProperties>) |
Initializes a new instance of the UserContract class. |
UserContract()
Initializes a new instance of the UserContract class.
public UserContract ();
Public Sub New ()
Applies to
UserContract(String, String, String, String, String, IList<UserIdentityContract>, String, String, String, Nullable<DateTime>, IList<GroupContractProperties>)
Initializes a new instance of the UserContract class.
public UserContract (string id = default, string name = default, string type = default, string state = default, string note = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.UserIdentityContract> identities = default, string firstName = default, string lastName = default, string email = default, DateTime? registrationDate = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.GroupContractProperties> groups = default);
new Microsoft.Azure.Management.ApiManagement.Models.UserContract : string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.UserIdentityContract> * string * string * string * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.GroupContractProperties> -> Microsoft.Azure.Management.ApiManagement.Models.UserContract
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional state As String = Nothing, Optional note As String = Nothing, Optional identities As IList(Of UserIdentityContract) = Nothing, Optional firstName As String = Nothing, Optional lastName As String = Nothing, Optional email As String = Nothing, Optional registrationDate As Nullable(Of DateTime) = Nothing, Optional groups As IList(Of GroupContractProperties) = Nothing)
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- state
- String
Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. Possible values include: 'active', 'blocked', 'pending', 'deleted'
- note
- String
Optional note about a user set by the administrator.
- identities
- IList<UserIdentityContract>
Collection of user identities.
- firstName
- String
First name.
- lastName
- String
Last name.
- String
Email address.
Date of user registration. The date
conforms to the following format: yyyy-MM-ddTHH:mm:ssZ
as
specified by the ISO 8601 standard.
- groups
- IList<GroupContractProperties>
Collection of groups user is part of.
Applies to
Azure SDK for .NET