def assigned_users_with_user_principal_name(self,user_principal_name: str) -> AssignedUsersWithUserPrincipalNameRequestBuilder:
        """
        Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity.
        param user_principal_name: Alternate key of user
        Returns: AssignedUsersWithUserPrincipalNameRequestBuilder
        """
        if user_principal_name is None:
            raise TypeError("user_principal_name cannot be null.")
        from .assigned_users_with_user_principal_name.assigned_users_with_user_principal_name_request_builder import AssignedUsersWithUserPrincipalNameRequestBuilder

        return AssignedUsersWithUserPrincipalNameRequestBuilder(self.request_adapter, self.path_parameters, user_principal_name)

        Provides operations to manage the assignedUsers property of the microsoft.graph.cloudPcProvisioningPolicyAssignment entity.
        param user_principal_name: Alternate key of user
        Returns: AssignedUsersWithUserPrincipalNameRequestBuilder
        
msgraph/generated/device_management/virtual_endpoint/provisioning_policies/item/assignments/item/cloud_pc_provisioning_policy_assignment_item_request_builder.py