UserContract Interface
public interface UserContract
An immutable client-side representation of UserContract.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
email()
Gets the email property: Email address. |
abstract String |
firstName()
Gets the first |
abstract
Generate |
generateSsoUrl()
Retrieves a redirection URL containing an authentication token for signing a given user into the developer portal. |
abstract
Response<Generate |
generateSsoUrlWithResponse(Context context)
Retrieves a redirection URL containing an authentication token for signing a given user into the developer portal. |
abstract
User |
getSharedAccessToken(UserTokenParameters parameters)
Gets the Shared Access Authorization Token for the User. |
abstract
Response<User |
getSharedAccessTokenWithResponse(UserTokenParameters parameters, Context context)
Gets the Shared Access Authorization Token for the User. |
abstract
List<Group |
groups()
Gets the groups property: Collection of groups user is part of. |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
List<User |
identities()
Gets the identities property: Collection of user identities. |
abstract
User |
innerModel()
Gets the inner com. |
abstract String |
lastName()
Gets the last |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract String |
note()
Gets the note property: Optional note about a user set by the administrator. |
abstract
User |
refresh()
Refreshes the resource to sync with Azure. |
abstract
User |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract
Offset |
registrationDate()
Gets the registration |
abstract String |
resourceGroupName()
Gets the name of the resource group. |
abstract
User |
state()
Gets the state property: Account state. |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract Update |
update()
Begins update for the User |
Method Details
public abstract String email()
Gets the email property: Email address.
Returns:
firstName
public abstract String firstName()
Gets the firstName property: First name.
Returns:
generateSsoUrl
public abstract GenerateSsoUrlResult generateSsoUrl()
Retrieves a redirection URL containing an authentication token for signing a given user into the developer portal.
Returns:
generateSsoUrlWithResponse
public abstract Response
Retrieves a redirection URL containing an authentication token for signing a given user into the developer portal.
Parameters:
Returns:
getSharedAccessToken
public abstract UserTokenResult getSharedAccessToken(UserTokenParameters parameters)
Gets the Shared Access Authorization Token for the User.
Parameters:
Returns:
getSharedAccessTokenWithResponse
public abstract Response
Gets the Shared Access Authorization Token for the User.
Parameters:
Returns:
groups
public abstract List
Gets the groups property: Collection of groups user is part of.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identities
public abstract List
Gets the identities property: Collection of user identities.
Returns:
innerModel
public abstract UserContractInner innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.UserContractInner object.
Returns:
lastName
public abstract String lastName()
Gets the lastName property: Last name.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
note
public abstract String note()
Gets the note property: Optional note about a user set by the administrator.
Returns:
refresh
public abstract UserContract refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract UserContract refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
registrationDate
public abstract OffsetDateTime registrationDate()
Gets the registrationDate property: Date of user registration. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
state
public abstract UserState state()
Gets the state property: 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.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract UserContract.Update update()
Begins update for the UserContract resource.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for