Interface ICustomerUser
- All Superinterfaces:
IEntityDeleteOperations<CustomerUser>,IEntityGetOperations<CustomerUser>,IEntityPatchOperations<CustomerUser>,IPartnerComponent<Tuple<String,String>>
- All Known Implementing Classes:
CustomerUserOperations
public interface ICustomerUser extends IPartnerComponent<Tuple<String,String>>, IEntityGetOperations<CustomerUser>, IEntityDeleteOperations<CustomerUser>, IEntityPatchOperations<CustomerUser>
Encapsulates a customer user behavior.
-
Method Summary
Modifier and Type Method Description voiddelete()Deletes a user.CustomerUserget()Retrieves the customer user.ICustomerUserRoleCollectiongetDirectoryRoles()Gets the current user's directory role collection operations.ICustomerUserLicenseCollectiongetLicenses()Gets the current user's licenses collection operations.ICustomerUserLicenseUpdatesgetLicenseUpdates()Gets the current user's license updates operations.CustomerUserpatch(CustomerUser entity)Updates the customer user.Methods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Method Details
-
getDirectoryRoles
ICustomerUserRoleCollection getDirectoryRoles()Gets the current user's directory role collection operations.- Returns:
- The current user's directory role collection operations.
-
getLicenses
ICustomerUserLicenseCollection getLicenses()Gets the current user's licenses collection operations.- Returns:
- The current user's licenses collection operations.
-
getLicenseUpdates
ICustomerUserLicenseUpdates getLicenseUpdates()Gets the current user's license updates operations.- Returns:
- The current user's license updates operations.
-
get
CustomerUser get()Retrieves the customer user.- Specified by:
getin interfaceIEntityGetOperations<CustomerUser>- Returns:
- The customer user.
-
delete
void delete()Deletes a user.- Specified by:
deletein interfaceIEntityDeleteOperations<CustomerUser>
-
patch
Updates the customer user.- Specified by:
patchin interfaceIEntityPatchOperations<CustomerUser>- Parameters:
entity- Customer user entity.- Returns:
- The updated user.
-