Class CustomerUserOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.customerusers.CustomerUserOperations
- All Implemented Interfaces:
ICustomerUser,IEntityDeleteOperations<CustomerUser>,IEntityGetOperations<CustomerUser>,IEntityPatchOperations<CustomerUser>,IPartnerComponent<Tuple<String,String>>
public class CustomerUserOperations extends BasePartnerComponent<Tuple<String,String>> implements ICustomerUser
-
Constructor Summary
Constructors Constructor Description CustomerUserOperations(IPartner rootPartnerOperations, String customerId, String userId)Initializes a new instance of the CustomerUserOperations class. -
Method Summary
Modifier and Type Method Description voiddelete()Deletes the customer user.CustomerUserget()Retrieves information of a specific customer user.ICustomerUserRoleCollectiongetDirectoryRoles()Retrieves the customer user's directory roles.ICustomerUserLicenseCollectiongetLicenses()Gets the current user's license collection operation.ICustomerUserLicenseUpdatesgetLicenseUpdates()Gets the current user's license updates operation.CustomerUserpatch(CustomerUser customerUser)Updates the customer user.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
CustomerUserOperations
Initializes a new instance of the CustomerUserOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.userId- The user identifier.
-
-
Method Details
-
get
Retrieves information of a specific customer user.- Specified by:
getin interfaceICustomerUser- Specified by:
getin interfaceIEntityGetOperations<CustomerUser>- Returns:
- The customer user object.
-
delete
public void delete()Deletes the customer user.- Specified by:
deletein interfaceICustomerUser- Specified by:
deletein interfaceIEntityDeleteOperations<CustomerUser>
-
patch
Updates the customer user.- Specified by:
patchin interfaceICustomerUser- Specified by:
patchin interfaceIEntityPatchOperations<CustomerUser>- Parameters:
customerUser- The customer to be updated.- Returns:
- The updated user.
-
getDirectoryRoles
Retrieves the customer user's directory roles.- Specified by:
getDirectoryRolesin interfaceICustomerUser- Returns:
- The customer user's directory roles.
-
getLicenses
Gets the current user's license collection operation.- Specified by:
getLicensesin interfaceICustomerUser- Returns:
- The customer user's licenses collection operations.
-
getLicenseUpdates
Gets the current user's license updates operation.- Specified by:
getLicenseUpdatesin interfaceICustomerUser- Returns:
- The customer user's license updates collection operations.
-